diff options
author | Tim Hatch <tim@timhatch.com> | 2014-04-14 12:00:10 -0400 |
---|---|---|
committer | Tim Hatch <tim@timhatch.com> | 2014-04-14 12:00:10 -0400 |
commit | 5f88359efbd6eb4b6cc97da47782c52b3d9be093 (patch) | |
tree | 38e9ee202e5255a7567ca9c2c00685cb420dde2f /pygments/lexers/jvm.py | |
parent | c3d5f1f0cac8ea3d1c666375d6acaa2a896bbb15 (diff) | |
parent | 95c02716da8c4f46a6d49b6184d5a222e71a7874 (diff) | |
download | pygments-5f88359efbd6eb4b6cc97da47782c52b3d9be093.tar.gz |
Merged in redcat9/pygments-main (pull request #304)
Diffstat (limited to 'pygments/lexers/jvm.py')
-rw-r--r-- | pygments/lexers/jvm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/jvm.py b/pygments/lexers/jvm.py index 3360ced3..12d9890c 100644 --- a/pygments/lexers/jvm.py +++ b/pygments/lexers/jvm.py @@ -66,7 +66,7 @@ class JavaLexer(RegexLexer): (r'[~\^\*!%&\[\]\(\)\{\}<>\|+=:;,./?-]', Operator), (r'[0-9][0-9]*\.[0-9]+([eE][0-9]+)?[fd]?', Number.Float), (r'0x[0-9a-fA-F]+', Number.Hex), - (r'[0-9]+L?', Number.Integer), + (r'[0-9]+(_+[0-9]+)*L?', Number.Integer), (r'\n', Text) ], 'class': [ |