summaryrefslogtreecommitdiff
path: root/pygments/lexers
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix Sphinx warnings in doc buildJean Abou Samra2022-09-282-0/+4
|
* Add tl-b lexer (#2247)Dan Volkov2022-09-262-0/+58
|
* Fix: Issues with .properties format using whitespace delimited key (#2241)jmzambon2022-09-251-8/+20
| | | | | | | | | Added: - support for space delimitor in every case, included multiline value - check for odd number of backslash escapes - "!" as comment start - support for escape of spaces and separators Dropped: - undocumented ";" and "//" comment start
* Improve Clay, Autohotkey lexers. (#2248)Matthäus G. Chajdas2022-09-252-3/+3
| | | Merge consecutive tokens together where possible.
* Fix regexlint warnings caused by limitations of regexlintJean Abou Samra2022-09-251-5/+5
|
* Updates from review.Aaron Bentley2022-09-251-2/+5
|
* Switch to \wAaron Bentley2022-09-251-2/+1
|
* Use include instead of plus sign.Aaron Bentley2022-09-251-46/+57
|
* Use words() with suffix inline.Aaron Bentley2022-09-251-7/+4
|
* Copyright and tweaks.Aaron Bentley2022-09-251-13/+19
|
* Combine regexesAaron Bentley2022-09-251-2/+1
| | | Co-authored-by: Jean Abou-Samra <jean@abou-samra.fr>
* Use words()Aaron Bentley2022-09-251-3/+6
|
* Add Jsonnet supportAaron Bentley2022-09-252-0/+161
|
* Update nimrod.py lexer (#1970)matkuki2022-09-241-13/+52
| | | Co-authored-by: Jean Abou-Samra <jean@abou-samra.fr>
* Fix minor documentation around WoWToCLexer (#2245)Tim Martin2022-09-221-2/+4
|
* Add World of Warcraft TOC file lexer (#2244)Tim Martin2022-09-212-0/+115
| | | Also fix a broken link and decode as UTF8 in count_token_references.py.
* HTTP: add CONNECT keyword (#2242)cmedrala2022-09-211-2/+2
|
* Adding MIPS Lexer (#2228)davisrichard4372022-09-212-0/+127
|
* Add func lexer (#2232)Dan Volkov2022-09-182-0/+109
|
* Fix syntax highlighting of INI language (#2217)jmzambon2022-09-151-2/+11
| | | | | Make it parse comments that are not their own line. Co-authored-by: Jean Abou-Samra <jean@abou-samra.fr>
* Add Phix (#2222)Pete Lomax2022-09-152-0/+365
|
* Objective-J: fix catastrophic backtracking in comment regex (#2225)Jean Abou-Samra2022-09-151-1/+1
| | | | | | This use of *? was both incorrect and catastrophically backtracking when embedding this regex into a larger regex with a trailing pattern, since it could match much more than intended and try exponentially many positions in that process.
* Add `.pyi` file to `python` lexer filenames (#2231)Nikita Sobolev2022-09-152-1/+3
|
* Add { and } to punctuation for GNU Assembly lexer (#2230)Nils Husung2022-09-141-1/+1
| | | | | This allows lexing instructions like: vpscatterqd %ymm0, 0x404050(,%zmm2,4) {%k1}
* [Spice] Add new keywords and fix bugs (#2227)Marc Auberer2022-09-131-8/+8
| | | | | | | | | | | | | * Cleanup * Add scope access operator * Add enum keyword * Update test ref * Fix bug for tokenizing number formats * Add pr to CHANGES
* Fix the lexing of Inform 6 properties and doubles (#2214)David Corbett2022-08-221-5/+7
|
* Improve NASM lexer (#2212)Fanael Linithien2022-08-191-3/+4
| | | | Adds support for SSE/AVX/AVX-512 registers and 'rel' and 'abs' address operators.
* Add GAP console session mode (#2211)Max Horn2022-08-195-5/+75
| | | | | | | | | | * Add GAP console session mode This is also appropriate for GAP .tst files. Add `analyse_text` methods for `ScilabLexer` and `GAPConsoleLexer` to distinguish Scilab and GAP .tst files * Use explicit name for 'keepends' argument to splitlines
* CFamilyLexer: Fix matching of function parameters (#2210)amitkummer2022-08-181-8/+8
| | | | | | | | | | | | | | This fixes an issue where in code like this: ``` int foo(float bar) // hello() {} ``` The lexer would match `(float bar) // hello()` as the parameters of the function `foo`, instead of just `(float bar)`. In addition, a similar test case to what was originally reported in #2208 is added.
* Replace uses of `import *`.Matthäus G. Chajdas2022-08-152-2/+4
|
* CFamilyLexer: refuse quotes between parentheses for function definitions and ↵Jean Abou-Samra2022-08-151-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | declarations (#2208) Something like id id2("){ ... }"); is no longer wrongly recognized as a "function" id id2(") { ... } "); As the difference in the tests shows, this has the unfortunate side effect that we no longer highlight something like int f(param="default"); as a function declaration, but it is hard to imagine another way to fix this (cf. “most vexing parse” problem). Fixes #2207
* Fix glitch found by regexlintJean Abou Samra2022-08-151-2/+2
|
* Fortran: fix catastrophic backtrackingJean Abou Samra2022-08-151-2/+2
| | | | \\\\|\\. is like \\. but causes catastrophic backtracking inside (...)* .
* LilyPond: add 6 missing builtinsJean Abou Samra2022-08-151-72/+155
| | | | | | | Fix problem reported at https://lists.gnu.org/archive/html/lilypond-user-fr/2022-04/msg00075.html Then update the autogenerated result.
* Disable highlighting of some escape codes for python bytes literals (#2204)LaurenceWarne2022-08-151-7/+20
| | | | | | | | Disable highlighting of unicode escape codes in python bytes literals, as described in https://docs.python.org/3/reference/lexical_analysis.html#string-and-bytes-literals. So escape codes of the form "\N{name}", "\uxxxx" and "\Uxxxxxxxx" will no longer be highlighted within bytes literals. Add tests for escape code highlighting in string and bytes literals.
* Update Spice lexer (#2206)Marc Auberer2022-08-121-17/+19
|
* abap: add missing SUBKEY keywordGeorg Brandl2022-07-301-1/+1
|
* Fix some cases in JMESPath lexer (#2182)Álvaro Mondéjar2022-07-201-1/+8
|
* Update `Inform6Lexer` to Inform 6.40 (#2190)David Corbett2022-07-161-3/+14
|
* Added COMAL-80 language highlight. (#2180)Marc Rintsch2022-07-152-0/+80
| | | | | * Added COMAL-80 language highlight. Co-authored-by: Jean Abou Samra <jean@abou-samra.fr>
* Add lexer for JMESPath (#2175)Álvaro Mondéjar2022-07-052-0/+61
| | | | Co-authored-by: Jean Abou-Samra <jean@abou-samra.fr>
* PHP: fix `\"$var\"` inside strings (fixes #2105)Georg Brandl2022-06-301-9/+8
|
* Update dotnet.py with _obas aliases (#2170)flywire2022-06-292-2/+3
| | | | | DotNet lexer works with LibreOffice Basic, OpenOffice Basic, and StarOffice Basic. * Update _mapping.py
* Added cartouche handling for Isabelle lexer (#2159)Dacit2022-06-281-15/+17
| | | Co-authored-by: Fabian Huch <huch@in.tum.de>
* Add 1.18 generics support for go lexer (#2167)Shengyu Zhang2022-06-251-3/+4
| | | | | | - Add new predeclared identifiers: `any` and `comparable` - Add new operator for type parameters: `~` and `|` Ref: https://go.dev/ref/spec
* Matlab session: fix traceback when a line continuation ellipsis appears in ↵Georg Brandl2022-06-231-1/+1
| | | | | | the output Fixes #2166
* Update Tera Term string handlingKurt McKee2022-06-211-15/+6
| | | | | | | * Remove backslash escape lexing in string literals. (Don't know why I added those in the first place!) * Lex strings in their entirety, not one character at a time. * Treat unclosed string literals as errors.
* Modify the Tera Term lexer so it outputs Text.Whitespace tokens correctlyKurt McKee2022-06-211-3/+3
| | | | Related to #1905
* lilypond: fix Whitespace tokenGeorg Brandl2022-06-211-2/+2
|
* Merge branch 'patch-1' of https://github.com/SECtim/pygments into SECtim-patch-1Matthäus G. Chajdas2022-06-191-1/+1
|\