Skip to content

Commit e5c6922

Browse files
committed
INTEGERLITERAL now supports negative numbers
1 parent 4a8894d commit e5c6922

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/antlr/vba.g4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2563,7 +2563,7 @@ STRINGLITERAL
25632563
;
25642564
25652565
INTEGERLITERAL
2566-
: (DIGIT DIGIT*
2566+
: [-]? (DIGIT DIGIT*
25672567
| '&H' [0-9A-F]+
25682568
| '&' [O]? [0-7]+) [%&^]?
25692569
;

0 commit comments

Comments
 (0)