Skip to content

Commit

Permalink
change asset token definition
Browse files Browse the repository at this point in the history
  • Loading branch information
ascandone committed Feb 10, 2025
1 parent 4ec528b commit f039c11
Show file tree
Hide file tree
Showing 4 changed files with 153 additions and 123 deletions.
2 changes: 1 addition & 1 deletion Numscript.g4
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ IDENTIFIER: [a-z]+ [a-z_]*;
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]+;
ASSET: [A-Z][A-Z0-9]* ('/' [0-9]+)?;
monetaryLit:
LBRACKET (asset = valueExpr) (amt = valueExpr) RBRACKET;
Expand Down
Loading

0 comments on commit f039c11

Please sign in to comment.