diff options
author | Christian Parpart <christian@parpart.family> | 2018-06-11 20:06:22 +0800 |
---|---|---|
committer | Christian Parpart <christian@ethereum.org> | 2018-07-03 16:53:09 +0800 |
commit | dbd0723a6d32b1681c548d9176ebf2b558b3dc0f (patch) | |
tree | dac6deed946e8e898d861cb4f3b0b40a47ea0216 | |
parent | 133fbdbf1874da9bc6b5911430f34a30ccf8db1f (diff) | |
download | dexon-solidity-dbd0723a6d32b1681c548d9176ebf2b558b3dc0f.tar.gz dexon-solidity-dbd0723a6d32b1681c548d9176ebf2b558b3dc0f.tar.zst dexon-solidity-dbd0723a6d32b1681c548d9176ebf2b558b3dc0f.zip |
grammar: removes the var-keyword from the grammar
-rw-r--r-- | docs/grammar.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/grammar.txt b/docs/grammar.txt index 5d977827..6bdbd016 100644 --- a/docs/grammar.txt +++ b/docs/grammar.txt @@ -78,7 +78,7 @@ Break = 'break' Return = 'return' Expression? Throw = 'throw' EmitStatement = 'emit' FunctionCall -VariableDefinition = ('var' IdentifierList | VariableDeclaration | '(' VariableDeclaration? (',' VariableDeclaration? )* ')' ) ( '=' Expression )? +VariableDefinition = (VariableDeclaration | '(' VariableDeclaration? (',' VariableDeclaration? )* ')' ) ( '=' Expression )? IdentifierList = '(' ( Identifier? ',' )* Identifier? ')' // Precedence by order (see github.com/ethereum/solidity/pull/732) @@ -140,8 +140,7 @@ TupleExpression = '(' ( Expression? ( ',' Expression? )* )? ')' ElementaryTypeNameExpression = ElementaryTypeName -ElementaryTypeName = 'address' | 'bool' | 'string' | 'var' - | Int | Uint | Byte | Fixed | Ufixed +ElementaryTypeName = 'address' | 'bool' | 'string' | Int | Uint | Byte | Fixed | Ufixed Int = 'int' | 'int8' | 'int16' | 'int24' | 'int32' | 'int40' | 'int48' | 'int56' | 'int64' | 'int72' | 'int80' | 'int88' | 'int96' | 'int104' | 'int112' | 'int120' | 'int128' | 'int136' | 'int144' | 'int152' | 'int160' | 'int168' | 'int176' | 'int184' | 'int192' | 'int200' | 'int208' | 'int216' | 'int224' | 'int232' | 'int240' | 'int248' | 'int256' |