Skip to content

Commit

Permalink
improved grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
ascandone committed Dec 24, 2024
1 parent cefcd19 commit ed73aa3
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 50 deletions.
2 changes: 1 addition & 1 deletion Numscript.g4
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ PERCENTAGE_PORTION_LITERAL: [0-9]+ ('.' [0-9]+)? '%';
STRING: '"' ('\\"' | ~[\r\n"])* '"';
IDENTIFIER: [a-z]+ [a-z_]*;
NUMBER: MINUS? [0-9][0-9_]*;
NUMBER: MINUS? [0-9]+ ('_' [0-9]+)*;
VARIABLE_NAME: '$' [a-z_]+ [a-z0-9_]*;
ACCOUNT: '@' [a-zA-Z0-9_-]+ (':' [a-zA-Z0-9_-]+)*;
ASSET: [A-Z/0-9]+;
Expand Down
Loading

0 comments on commit ed73aa3

Please sign in to comment.