summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgbrandl <devnull@localhost>2007-02-13 23:11:42 +0100
committergbrandl <devnull@localhost>2007-02-13 23:11:42 +0100
commitcd80a43b2f0528b9a6cee20e558bee0566cc30cf (patch)
treeb818c43416818a524c9744aab06df0a4260cc025
parentb5d91bf82267d2ed5ba354c436bca629f43a91e1 (diff)
downloadpygments-cd80a43b2f0528b9a6cee20e558bee0566cc30cf.tar.gz
[svn] Fix a Java lexer thing.
-rw-r--r--CHANGES2
-rw-r--r--pygments/lexers/compiled.py3
2 files changed, 3 insertions, 2 deletions
diff --git a/CHANGES b/CHANGES
index 0ba8c072..e90d40ee 100644
--- a/CHANGES
+++ b/CHANGES
@@ -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'),
]
}