P-code parsing of NumberContext

This commit is contained in:
Jindra Petřík
2024-08-10 18:18:39 +02:00
parent 4e36416729
commit d25627460c
13 changed files with 3044 additions and 2589 deletions

View File

@@ -223,6 +223,19 @@ ExceptionTarget = "exceptiontarget "{PositiveNumberLiteral}":"
"class" |
"function" { return token(TokenType.KEYWORD2);}
"Number" |
"int" |
"uint" |
"NumberContext" |
"CEILING" |
"UP" |
"HALF_UP" |
"HALF_EVEN" |
"HALF_DOWN" |
"DOWN" |
"FLOOR" { return token(TokenType.KEYWORD2); }
/* string literal */
\" {
yybegin(STRING);