diff options
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | CHANGES | 7 | ||||
-rw-r--r-- | pygments/lexers/parsers.py | 17 |
3 files changed, 15 insertions, 10 deletions
@@ -21,6 +21,7 @@ Other contributors (as mentionend in :copyright:s) are: - Jeremy Thurgood - Matthew Harrison - Steven Hazel +- Ana Nelson <ana@ananelson.com> Many thanks for all your contributions! @@ -7,10 +7,11 @@ Version 1.1 - Lexers added: - * GLSL (#369) + * Antlr/Ragel, thanks to Ana Nelson + * (Ba)sh shell * Erlang shell - * (Ba)sh shell (#349) - * Prolog (#373) + * GLSL + * Prolog - Fix a bug lexing extended Ruby strings. diff --git a/pygments/lexers/parsers.py b/pygments/lexers/parsers.py index 512445e6..92f2c46b 100644 --- a/pygments/lexers/parsers.py +++ b/pygments/lexers/parsers.py @@ -5,7 +5,8 @@ Lexers for parser generators. - :copyright: 2008 by Ana Nelson <ana@ananelson.com>. + :copyright: 2008-2009 by Ana Nelson <ana@ananelson.com>, Tim Hatch. + :license: BSD, see LICENSE for more details. """ @@ -20,14 +21,16 @@ from pygments.lexers.compiled import JavaLexer, CLexer, CppLexer, \ from pygments.lexers.dotnet import CSharpLexer from pygments.lexers.agile import RubyLexer, PythonLexer, PerlLexer from pygments.lexers.web import ActionScriptLexer -# Use TextLexer during development to just focus on one part of a delegating lexer. +# Use TextLexer during development to just focus on one part of a delegating +# lexer. from pygments.lexers.special import TextLexer -__all__ = ['RagelLexer', 'RagelEmbeddedLexer', 'RagelCLexer', 'RagelDLexer', \ - 'RagelCppLexer', 'RagelObjectiveCLexer', 'RagelRubyLexer', 'RagelJavaLexer', \ - 'AntlrLexer', 'AntlrPythonLexer', 'AntlrPerlLexer', 'AntlrRubyLexer', \ - 'AntlrCppLexer', 'AntlrCLexer', 'AntlrCSharpLexer', 'AntlrObjectiveCLexer', \ - 'AntlrJavaLexer', "AntlrActionScriptLexer"] +__all__ = ['RagelLexer', 'RagelEmbeddedLexer', 'RagelCLexer', 'RagelDLexer', + 'RagelCppLexer', 'RagelObjectiveCLexer', 'RagelRubyLexer', + 'RagelJavaLexer', 'AntlrLexer', 'AntlrPythonLexer', + 'AntlrPerlLexer', 'AntlrRubyLexer', 'AntlrCppLexer', + 'AntlrCLexer', 'AntlrCSharpLexer', 'AntlrObjectiveCLexer', + 'AntlrJavaLexer', "AntlrActionScriptLexer"] class RagelLexer(RegexLexer): """ |