aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-07-25 07:08:42 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-07-25 07:08:42 +0800
commit582ab4eab453cd658d4904aacfad597d44573e6b (patch)
treedc1eda9b9c818d77ca5e983eddca0444dde114ab
parent258e8caa59d1aed5913c73bc49af957e9dd3a5ec (diff)
downloaddexon-solidity-582ab4eab453cd658d4904aacfad597d44573e6b.tar.gz
dexon-solidity-582ab4eab453cd658d4904aacfad597d44573e6b.tar.zst
dexon-solidity-582ab4eab453cd658d4904aacfad597d44573e6b.zip
grammar: rename AssemblyLocalBinding to AssemblyVariableDeclaration
-rw-r--r--docs/grammar.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/grammar.txt b/docs/grammar.txt
index 42467b6f..8e91a7d6 100644
--- a/docs/grammar.txt
+++ b/docs/grammar.txt
@@ -154,9 +154,9 @@ Ufixed = 'ufixed' | ( 'ufixed' [0-9]+ 'x' [0-9]+ )
InlineAssemblyBlock = '{' AssemblyItem* '}'
-AssemblyItem = Identifier | FunctionalAssemblyExpression | InlineAssemblyBlock | AssemblyLocalBinding | AssemblyAssignment | AssemblyLabel | NumberLiteral | StringLiteral | HexLiteral
+AssemblyItem = Identifier | FunctionalAssemblyExpression | InlineAssemblyBlock | AssemblyVariableDeclaration | AssemblyAssignment | AssemblyLabel | NumberLiteral | StringLiteral | HexLiteral
AssemblyExpression = Identifier | FunctionalAssemblyExpression | NumberLiteral | StringLiteral | HexLiteral
-AssemblyLocalBinding = 'let' Identifier ':=' AssemblyExpression
+AssemblyVariableDeclaration = 'let' Identifier ':=' AssemblyExpression
AssemblyAssignment = ( Identifier ':=' AssemblyExpression ) | ( '=:' Identifier )
AssemblyLabel = Identifier ':'
FunctionalAssemblyExpression = Identifier '(' AssemblyItem? ( ',' AssemblyItem )* ')'