Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ascandone committed Dec 6, 2024
1 parent e957a4e commit 9bf4d35
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Numscript.g4
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ valueExpr:
| left = valueExpr op = ('+' | '-') right = valueExpr # infixExpr;
functionCallArgs: valueExpr ( COMMA valueExpr)*;
functionCall: (OVERDRAFT | IDENTIFIER) LPARENS functionCallArgs? RPARENS;
functionCall:
fnName = (OVERDRAFT | IDENTIFIER) LPARENS functionCallArgs? RPARENS;
varOrigin: EQ functionCall;
varDeclaration:
Expand Down
20 changes: 19 additions & 1 deletion internal/parser/antlr/numscript_parser.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9bf4d35

Please sign in to comment.