added parser rule for function calling
This commit is contained in:
parent
897de1b8e1
commit
3e6469e239
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue