mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
grammar.txt: Replace Identifier for Typename in NewExpression
This commit is contained in:
parent
c15b0fb596
commit
26eff0e0d8
@ -104,7 +104,7 @@ FunctionCall = ( PrimaryExpression | NewExpression | TypeName ) ( ( '.' Identifi
|
|||||||
FunctionCallArguments = '{' NameValueList? '}'
|
FunctionCallArguments = '{' NameValueList? '}'
|
||||||
| ExpressionList?
|
| ExpressionList?
|
||||||
|
|
||||||
NewExpression = 'new' Identifier
|
NewExpression = 'new' TypeName
|
||||||
MemberAccess = Expression '.' Identifier
|
MemberAccess = Expression '.' Identifier
|
||||||
IndexAccess = Expression '[' Expression? ']'
|
IndexAccess = Expression '[' Expression? ']'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user