diff options
Diffstat (limited to 'grammar.txt')
-rw-r--r-- | grammar.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grammar.txt b/grammar.txt index 793e9188..a26f717a 100644 --- a/grammar.txt +++ b/grammar.txt @@ -29,7 +29,7 @@ Expression = Assignment | UnaryOperation | BinaryOperation | FunctionCall | NewE MemberAccess | PrimaryExpression // The expression syntax is actually much more complicated Assignment = Expression (AssignmentOp Expression) -FunctionCall = Expression '(' ( Expression ( ',' Expression )* ) ')' +FunctionCall = Expression '(' Expression ( ',' Expression )* ')' NewExpression = 'new' Identifier '(' ( Expression ( ',' Expression )* ) ')' MemberAccess = Expression '.' Identifier IndexAccess = Expression '[' Expresison ']' |