summaryrefslogtreecommitdiff
path: root/pygments/lexers/parsers.py
Commit message (Collapse)AuthorAgeFilesLines
* Copyright year update.Georg Brandl2015-01-211-1/+1
|
* Simplify charclasses in a few more modulesGeorg Brandl2014-11-061-17/+17
|
* Curly brace escaping, round 2.Tim Hatch2014-10-151-3/+3
| | | | | | | These were all pointed out by regexlint but required manual effort to track down (indicator.py was confused by most of them being produced by expressions). Also comment out some iffy comment patterns.
* all lexers: fix unescaped { and } so that the "regex" module can compile our ↵Georg Brandl2014-10-151-20/+20
| | | | regexes
* EBNF: be a bit more tolerantGeorg Brandl2014-10-071-1/+2
|
* Remove the c_like subpackage.Georg Brandl2014-09-201-3/+3
|
* split up web lexersGeorg Brandl2014-09-191-1/+1
|
* split up text lexersGeorg Brandl2014-09-191-84/+140
|
* Superfluous character class when only one charGaurav Jain2014-05-151-2/+2
|
* use versionadded directivesGeorg Brandl2014-01-191-20/+20
|
* new year in copyright noticeGeorg Brandl2014-01-101-1/+1
|
* Closes #923: remove blanket nonzero analyse_text returns, and add an ↵Georg Brandl2014-01-101-1/+1
| | | | analyse_text for Makefile lexer
* Happy new year 2013.Georg Brandl2013-01-091-1/+1
|
* Fix issues found by "make check".Georg Brandl2013-01-091-1/+2
|
* Get ready for release: update "new in" version numbers and rename CUDALexerTim Hatch2012-11-121-0/+4
|
* Make sure that TreetopLexer will terminate.Tim Hatch2012-11-121-2/+2
|
* Add Treetop lexerTom Stuart2012-11-111-1/+79
|
* Fix a data loss bug in antlr lexerTim Hatch2012-03-091-1/+1
| | | | | | | | --- pygments/lexers/parsers.py | 2 +- tests/examplefiles/antlr_throws | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 tests/examplefiles/antlr_throws
* Merge pygments-main with pygments-timTim Hatch2012-02-271-2/+2
|\
| * Merge pygments-main with pygments-timTim Hatch2012-01-031-2/+2
| |\
| | * Bulk changes to improve many lexers inner workingsTim Hatch2011-03-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on a suspicion that most examplefiles only exercise a small part of the lexers, I've written some code to find suspicious parts of regular expressions, then gone back over those to fix them. Most of these affect whether the regex does what it looks like it does, but none of them should appreciably change the function of the lexer. * a few cases which used capturing groups + bygroups incorrectly (most were harmless, but I think one could have generated a traceback in its previous state) * a few cases which could match empty string, without a callback (this is highly discouraged, because if an op doesn't consume any characters, it might be possible to enter an empty loop). I'll revisit individually the cases where a callback or state push is used. * many cases with embedded newlines in non-verbose regexes * many, many cases with reversed (else|elseif) style alternations
* | | Copyright update.Georg Brandl2012-02-051-1/+1
|/ /
* | Fix current copyright year.Georg Brandl2011-07-091-1/+1
|/
* Remove compatibility "sets" imports.Georg Brandl2010-02-181-6/+4
|
* Happy new year!Georg Brandl2010-01-011-1/+1
|
* Fix ANTLR analyse_text functions.gbrandl2009-09-111-8/+19
|
* Make make check happy.gbrandl2009-09-111-1/+2
|
* Make "New in ..." consistent.gbrandl2009-09-111-16/+30
|
* Fix "make check" nits.gbrandl2009-01-041-3/+2
|
* Fixup ANTLR for Objective-Cthatch2009-01-041-1/+1
|
* Linkify ANTLRthatch2009-01-041-9/+11
|
* Add analyse_text for all Antlr lexers, comment C version (in favor of C++)thatch2009-01-031-15/+48
| | | | since it's difficult to tell them apart in source files.
* Whitespace tweaks basicallythatch2009-01-031-66/+110
|
* Add Ana Nelson to contributorsthatch2009-01-031-7/+10
|
* Fix another Ragel roundtrip error and rename examplefiles sincethatch2009-01-031-2/+4
| | | | | test_examplefiles.py doesn't do content-based checking when there are multiple lexers for the same extension.
* Add analyse_text to Ragel parsers, fix roundtrip error (the following textthatch2009-01-031-4/+27
| | | | | | | | demonstrates it on the antlr lexer itself, even without delegating): {{{ t$WS,FLzL;7HcxdYq"Afx:~@(oreV-8X_/d2-yC` }}}
* Add Antlr/Ragel lexer from #345thatch2009-01-031-0/+565