aboutsummaryrefslogtreecommitdiffstats
path: root/docs/grammar.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/grammar.txt')
-rw-r--r--docs/grammar.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/grammar.txt b/docs/grammar.txt
index f45a62e7..62b4a021 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? ']'