File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed
Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,20 @@ Dim hex As Long
1111hex = &H98FA2
1212' ^^^^^^^ constant.numeric.hexadecimal
1313
14+ hex = &h98 _FA2
15+ ' ^^^^^^^^ constant.numeric.hexadecimal
16+
1417Dim oct As Long
1518oct = &O75
1619' ^^^^ constant.numeric.octal
20+ oct = &o23 _22
21+ ' ^^^^^^ constant.numeric.octal
22+
23+ Dim bin As Long
24+ bin = &B0011
25+ ' ^^^^^^ constant.numeric.binary
26+ bin = &b1000_0101
27+ ' ^^^^^^^^^^^ constant.numeric.binary
1728
1829Dim dub As Double
1930' ^^^^^^ support.type.Double
Original file line number Diff line number Diff line change 4444 "patterns" : [
4545 {
4646 "name" : " constant.numeric.hexadecimal" ,
47- "match" : " (?i)&H[0-9A-F]+"
47+ "match" : " (?i)&H( [0-9A-F]+[_]?) +"
4848 },
4949 {
5050 "name" : " constant.numeric.octal" ,
51- "match" : " (?i)&O[0-7]+"
51+ "match" : " (?i)&O([0-7]+[_]?)+"
52+ },
53+ {
54+ "name" : " constant.numeric.binary" ,
55+ "match" : " (?i)&B([0-1]+[_]?)+"
5256 },
5357 {
5458 "name" : " constant.numeric.decimal" ,
You can’t perform that action at this time.
0 commit comments