diff options
author | chriseth <chris@ethereum.org> | 2018-04-30 19:30:09 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-05-16 09:52:24 +0800 |
commit | 6c8f78fb8ff99c5d28669fa7383a25b8c8523915 (patch) | |
tree | 77c6fa1dfe65d50a55e487ed0e3732d93a7bf00b /docs/grammar.txt | |
parent | c781baf7336af55abc33e1b63e6fc99a7e555d78 (diff) | |
download | dexon-solidity-6c8f78fb8ff99c5d28669fa7383a25b8c8523915.tar dexon-solidity-6c8f78fb8ff99c5d28669fa7383a25b8c8523915.tar.gz dexon-solidity-6c8f78fb8ff99c5d28669fa7383a25b8c8523915.tar.bz2 dexon-solidity-6c8f78fb8ff99c5d28669fa7383a25b8c8523915.tar.lz dexon-solidity-6c8f78fb8ff99c5d28669fa7383a25b8c8523915.tar.xz dexon-solidity-6c8f78fb8ff99c5d28669fa7383a25b8c8523915.tar.zst dexon-solidity-6c8f78fb8ff99c5d28669fa7383a25b8c8523915.zip |
Update documentation for multi variable declaration statement.
Diffstat (limited to 'docs/grammar.txt')
-rw-r--r-- | docs/grammar.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/grammar.txt b/docs/grammar.txt index 565db9a4..0dda4f49 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) ( '=' Expression )? +VariableDefinition = ('var' IdentifierList | VariableDeclaration | '(' VariableDeclaration? (',' VariableDeclaration? )* ')' ) ( '=' Expression )? IdentifierList = '(' ( Identifier? ',' )* Identifier? ')' // Precedence by order (see github.com/ethereum/solidity/pull/732) |