Handle range in model lexer correctly #15877
This commit is contained in:
parent
3dcc409fac
commit
808945c21c
@ -112,7 +112,8 @@ LIT_INTEGER
|
||||
;
|
||||
|
||||
LIT_FLOAT
|
||||
: [0-9][0-9_]* ('.' | ('.' [0-9][0-9_]*)? ([eE] [-+]? [0-9][0-9_]*)? SUFFIX?)
|
||||
: [0-9][0-9_]* ( '.' {_input.LA(1) != '.'}?
|
||||
| ('.' [0-9][0-9_]*)? ([eE] [-+]? [0-9][0-9_]*)? SUFFIX?)
|
||||
;
|
||||
|
||||
LIT_STR
|
||||
|
Loading…
Reference in New Issue
Block a user