Allow trailing comma in function call grammar
This commit is contained in:
parent
aca4f669ad
commit
6f742ec577
@ -36,5 +36,5 @@ identifier -> IDENTIFIER | "@" STRING ;
|
||||
operand -> ( NUMBER | STRING | identifier | "(" expression ")" | record | variant | list) ;
|
||||
selector -> "." identifier ;
|
||||
index -> "[" expression "]" ;
|
||||
arguments -> "(" ( "_" | expression ( "," ( "_" | expression ) )* )? ")" ;
|
||||
primary -> operand ( selector | index | arguments ) ;
|
||||
call -> "(" ( ( "_" | expression ) ( "," ( "_" | expression ) )* ","? )? ")" ;
|
||||
primary -> operand ( selector | index | call ) ;
|
||||
|
Loading…
Reference in New Issue
Block a user