summaryrefslogtreecommitdiff
path: root/pygments/lexers/math.py
diff options
context:
space:
mode:
authorDavid Corbett <corbett.dav@husky.neu.edu>2014-05-19 18:27:42 -0400
committerDavid Corbett <corbett.dav@husky.neu.edu>2014-05-19 18:27:42 -0400
commit17d97617f360f8de37dad25a67b1424f15005d8a (patch)
tree07e69f1007887aaa311e0fd8d5fbb40408f81506 /pygments/lexers/math.py
parent8e4acf008bbe4233bd075d2f25c7fbafd861f710 (diff)
downloadpygments-17d97617f360f8de37dad25a67b1424f15005d8a.tar.gz
Add token type Number.Bin
Diffstat (limited to 'pygments/lexers/math.py')
-rw-r--r--pygments/lexers/math.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/math.py b/pygments/lexers/math.py
index de766bd2..b324c614 100644
--- a/pygments/lexers/math.py
+++ b/pygments/lexers/math.py
@@ -105,8 +105,8 @@ class JuliaLexer(RegexLexer):
(r'(\d+\.\d*|\d*\.\d+)([eEf][+-]?[0-9]+)?', Number.Float),
(r'\d+(_\d+)+[eEf][+-]?[0-9]+', Number.Float),
(r'\d+[eEf][+-]?[0-9]+', Number.Float),
- (r'0b[01]+(_[01]+)+', Number.Binary),
- (r'0b[01]+', Number.Binary),
+ (r'0b[01]+(_[01]+)+', Number.Bin),
+ (r'0b[01]+', Number.Bin),
(r'0o[0-7]+(_[0-7]+)+', Number.Oct),
(r'0o[0-7]+', Number.Oct),
(r'0x[a-fA-F0-9]+(_[a-fA-F0-9]+)+', Number.Hex),