diff options
author | Naveen Garg <naveen.garg@gmail.com> | 2011-09-03 20:09:03 -0500 |
---|---|---|
committer | Naveen Garg <naveen.garg@gmail.com> | 2011-09-03 20:09:03 -0500 |
commit | 32383c7fa5c985590fdc454cfbea19c4dc2eca75 (patch) | |
tree | 29dc531124a898fda4ea83363590a2006a134847 /docs/generate.py | |
parent | 7454d6de7bb8ea3f263126108bb5dfc5b32e0b7f (diff) | |
download | pygments-32383c7fa5c985590fdc454cfbea19c4dc2eca75.tar.gz |
Fixed many things wrong with old lexer.
The new one uses much saner rules.
The old lexer was failing on 28 files from one set of autohotkey libraries gathered by toralf. The new one passes on all files tested, except 4 scripts with non-ascii characters. See list here: https://github.com/tinku99/ahklexers/blob/master/pygments/compareOldToNewLexers.txt
highlighting demos using new lexer: http://golguppe.com/autohotkey/pygments/demo/
github repo containing tests: https://github.com/tinku99/ahklexers/tree/master/pygments
discussed with autohotkey community here: http://www.autohotkey.com/forum/viewtopic.php?p=471605#471605
Fixed:
1. handling of multiline comments
2. handling of continuation sections
3. highlighting of builtin functions
4. handling of assign operation within expressions
5. fixed [] as punctuation
6. fixed handling of @$# in names
Diffstat (limited to 'docs/generate.py')
0 files changed, 0 insertions, 0 deletions