File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed
Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,14 @@ dec = 2.375D
77dec = 4.000
88' ^^^^^ constant.numeric.decimal
99
10+ Dim hex As Long
11+ hex = &H98FA2
12+ ' ^^^^^^^ constant.numeric.hexadecimal
13+
14+ Dim oct As Long
15+ oct = &O75
16+ ' ^^^^ constant.numeric.octal
17+
1018Dim dub As Double
1119' ^^^^^^ support.type.Double
1220dub = 4.0 R
Original file line number Diff line number Diff line change 4242 },
4343 "numbers" : {
4444 "patterns" : [
45+ {
46+ "name" : " constant.numeric.hexadecimal" ,
47+ "match" : " (?i)&H[0-9A-F]+"
48+ },
49+ {
50+ "name" : " constant.numeric.octal" ,
51+ "match" : " (?i)&O[0-7]+"
52+ },
4553 {
4654 "name" : " constant.numeric.decimal" ,
47- "match" : " ( [0-9]+)( \\ .)( [0-9]+) (D|R|F)?"
55+ "match" : " [0-9]+\\ .[0-9]+(D|R|F)?"
4856 },
4957 {
5058 "name" : " constant.numeric.integer" ,
51- "match" : " (([0-9]+)( [_]?))+(ui| UI|ul|UL|us |US)?"
59+ "match" : " (?i) ([0-9]+[_]?)+( UI|UL |US)?"
5260 }
5361 ]
5462 },
You can’t perform that action at this time.
0 commit comments