aboutsummaryrefslogtreecommitdiffstats
path: root/docs/grammar.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/grammar.txt')
-rw-r--r--docs/grammar.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/grammar.txt b/docs/grammar.txt
index a9f328c0..dc188572 100644
--- a/docs/grammar.txt
+++ b/docs/grammar.txt
@@ -68,7 +68,8 @@ Continue = 'continue'
Break = 'break'
Return = 'return' Expression?
Throw = 'throw'
-VariableDefinition = VariableDeclaration ( '=' Expression )?
+VariableDefinition = ('var' IdentifierList | VariableDeclaration) ( '=' Expression )?
+IdentifierList = '(' ( Identifier? ',' )* Identifier? ')'
// Precedence by order (see github.com/ethereum/solidity/pull/732)
Expression =