aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorFederico Bond <federicobond@gmail.com>2017-01-11 12:35:29 +0800
committerFederico Bond <federicobond@gmail.com>2017-01-11 12:35:29 +0800
commit26eff0e0d8c0c34a614e6c7151e248168f72cab7 (patch)
tree65a30bd21a82a28e28cd86158178008d712979f3 /docs
parentc15b0fb596a3466a8f31f9b4f9cd0289091264aa (diff)
downloaddexon-solidity-26eff0e0d8c0c34a614e6c7151e248168f72cab7.tar
dexon-solidity-26eff0e0d8c0c34a614e6c7151e248168f72cab7.tar.gz
dexon-solidity-26eff0e0d8c0c34a614e6c7151e248168f72cab7.tar.bz2
dexon-solidity-26eff0e0d8c0c34a614e6c7151e248168f72cab7.tar.lz
dexon-solidity-26eff0e0d8c0c34a614e6c7151e248168f72cab7.tar.xz
dexon-solidity-26eff0e0d8c0c34a614e6c7151e248168f72cab7.tar.zst
dexon-solidity-26eff0e0d8c0c34a614e6c7151e248168f72cab7.zip
grammar.txt: Replace Identifier for Typename in NewExpression
Diffstat (limited to 'docs')
-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? ']'