diff options
author | Mike Nolta <mike@nolta.net> | 2012-10-21 19:28:23 -0400 |
---|---|---|
committer | Mike Nolta <mike@nolta.net> | 2012-10-21 19:28:23 -0400 |
commit | bc1fea9cf1220e27625e0ec33c8ef9d81e8987dc (patch) | |
tree | 513c828df3380642af2e804c0624cbcb7caf03ee /pygments | |
parent | 02528e23b813468ed1b2489475a706a3ae828d81 (diff) | |
download | pygments-bc1fea9cf1220e27625e0ec33c8ef9d81e8987dc.tar.gz |
JuliaLexer: add oct literals
Diffstat (limited to 'pygments')
-rw-r--r-- | pygments/lexers/math.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pygments/lexers/math.py b/pygments/lexers/math.py index 45318fa6..3cba201b 100644 --- a/pygments/lexers/math.py +++ b/pygments/lexers/math.py @@ -95,6 +95,7 @@ class JuliaLexer(RegexLexer): (r'(\d+\.\d*|\d*\.\d+)([eE][+-]?[0-9]+)?', Number.Float), (r'\d+[eE][+-]?[0-9]+', Number.Float), (r'0b[01]+', Number.Binary), + (r'0o[0-7]+', Number.Oct), (r'0x[a-fA-F0-9]+', Number.Hex), (r'\d+', Number.Integer) ], |