Update num token in reference

This commit is contained in:
Iaroslav 2020-07-27 15:58:09 +07:00
parent f8383deb70
commit 1ebd362696
No known key found for this signature in database
GPG Key ID: 46E15E4A31B3BCD7

View File

@ -6,7 +6,7 @@ fragment CAPITAL_LETTER: 'A'..'Z';
fragment UNDERSCORE: '_';
ID: (LETTER | UNDERSCORE | CAPITAL_LETTER) (LETTER | UNDERSCORE | DIGIT | CAPITAL_LETTER)*;
NUM: (DIGIT | '.')+ ([eE] (MINUS? | PLUS?) DIGIT+)?;
NUM: (DIGIT | '.')+ ([eE] [-+]? DIGIT+)?;
MUL: '*';
DIV: '/';
PLUS: '+';