diff --git a/docs/grammar.txt b/docs/grammar.txt index f45a62e7f..62b4a0212 100644 --- a/docs/grammar.txt +++ b/docs/grammar.txt @@ -104,7 +104,7 @@ FunctionCall = ( PrimaryExpression | NewExpression | TypeName ) ( ( '.' Identifi FunctionCallArguments = '{' NameValueList? '}' | ExpressionList? -NewExpression = 'new' Identifier +NewExpression = 'new' TypeName MemberAccess = Expression '.' Identifier IndexAccess = Expression '[' Expression? ']'