summaryrefslogtreecommitdiff
path: root/pygments
diff options
context:
space:
mode:
authorMike Nolta <mike@nolta.net>2012-10-21 19:28:23 -0400
committerMike Nolta <mike@nolta.net>2012-10-21 19:28:23 -0400
commitbc1fea9cf1220e27625e0ec33c8ef9d81e8987dc (patch)
tree513c828df3380642af2e804c0624cbcb7caf03ee /pygments
parent02528e23b813468ed1b2489475a706a3ae828d81 (diff)
downloadpygments-bc1fea9cf1220e27625e0ec33c8ef9d81e8987dc.tar.gz
JuliaLexer: add oct literals
Diffstat (limited to 'pygments')
-rw-r--r--pygments/lexers/math.py1
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)
],