diff options
author | gbrandl <devnull@localhost> | 2007-01-08 19:13:39 +0100 |
---|---|---|
committer | gbrandl <devnull@localhost> | 2007-01-08 19:13:39 +0100 |
commit | 6342c41108da146a0bb14ecbf812a4ebcb27bec8 (patch) | |
tree | 1046355f9e20250b170363d585aacc8d7313111d /pygments/lexers/text.py | |
parent | 8c5979eab20c8927ff4d872f82c74d21d9ee6b15 (diff) | |
download | pygments-6342c41108da146a0bb14ecbf812a4ebcb27bec8.tar.gz |
[svn] Fix #178 and make test suite pass.
Diffstat (limited to 'pygments/lexers/text.py')
-rw-r--r-- | pygments/lexers/text.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/pygments/lexers/text.py b/pygments/lexers/text.py index 64b47195..46ffe31f 100644 --- a/pygments/lexers/text.py +++ b/pygments/lexers/text.py @@ -23,8 +23,7 @@ from pygments.token import Punctuation, \ __all__ = ['IniLexer', 'MakefileLexer', 'DiffLexer', 'IrcLogsLexer', - 'TexLexer', 'GroffLexer', 'ApacheConfLexer', 'BBCodeLexer', - 'RstLexer'] + 'TexLexer', 'GroffLexer', 'ApacheConfLexer', 'BBCodeLexer'] class IniLexer(RegexLexer): @@ -313,7 +312,7 @@ class ApacheConfLexer(RegexLexer): } -class RstLexer(RegexLexer): - name = 'reStructuredText' - aliases = ['rst', 'restructuredtext'] - filenames = ['*.rst'] +#class RstLexer(RegexLexer): +# name = 'reStructuredText' +# aliases = ['rst', 'restructuredtext'] +# filenames = ['*.rst'] |