diff options
author | gbrandl <devnull@localhost> | 2007-02-13 23:11:42 +0100 |
---|---|---|
committer | gbrandl <devnull@localhost> | 2007-02-13 23:11:42 +0100 |
commit | cd80a43b2f0528b9a6cee20e558bee0566cc30cf (patch) | |
tree | b818c43416818a524c9744aab06df0a4260cc025 | |
parent | b5d91bf82267d2ed5ba354c436bca629f43a91e1 (diff) | |
download | pygments-cd80a43b2f0528b9a6cee20e558bee0566cc30cf.tar.gz |
[svn] Fix a Java lexer thing.
-rw-r--r-- | CHANGES | 2 | ||||
-rw-r--r-- | pygments/lexers/compiled.py | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -60,7 +60,7 @@ Version 0.7 (in development) - Fixed some problems lexing Python strings. -- Fixed tickets: #167, #178, #179, #180, #185. +- Fixed tickets: #167, #178, #179, #180, #185, #201. Version 0.6 diff --git a/pygments/lexers/compiled.py b/pygments/lexers/compiled.py index bfc6334f..e986fe89 100644 --- a/pygments/lexers/compiled.py +++ b/pygments/lexers/compiled.py @@ -736,7 +736,8 @@ class JavaLexer(RegexLexer): (r'\n', Text) ], 'class': [ - (r'[a-zA-Z_][a-zA-Z0-9_]*', Name.Class, '#pop') + (r'[a-zA-Z_][a-zA-Z0-9_]*', Name.Class, '#pop'), + (r'', Text, '#pop'), ] } |