grammar.txt: Replace Identifier for Typename in NewExpression

This commit is contained in:
Federico Bond 2017-01-11 01:35:29 -03:00
parent c15b0fb596
commit 26eff0e0d8

View File

@ -104,7 +104,7 @@ FunctionCall = ( PrimaryExpression | NewExpression | TypeName ) ( ( '.' Identifi
FunctionCallArguments = '{' NameValueList? '}'
| ExpressionList?
NewExpression = 'new' Identifier
NewExpression = 'new' TypeName
MemberAccess = Expression '.' Identifier
IndexAccess = Expression '[' Expression? ']'