added parser rule for function calling

This commit is contained in:
Sven Vogel 2024-04-29 14:12:27 +02:00
parent 897de1b8e1
commit 3e6469e239
1 changed files with 6 additions and 0 deletions

View File

@ -65,6 +65,12 @@ expr: ValFloat
| ValStr
| Ident;
exprlist: expr ',' exprlist
| expr
| ;
funcall: Ident '(' exprlist ')' { DEBUG("Function call"); };
assign: Ident '=' expr { DEBUG("Assignment"); };
identlist: Ident ',' identlist