aboutsummaryrefslogtreecommitdiffstats
path: root/docs/grammar.txt
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-06-15 07:39:46 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-06-15 07:39:46 +0800
commit1ceb735fe1a996a3b469e2fa5278f49160e9f85a (patch)
tree8b39f05fdf6186328fba8cd23ebae06bf40bf2bf /docs/grammar.txt
parent42b61171d981ceccd5f79af5508db92b4f2ad54b (diff)
downloaddexon-solidity-1ceb735fe1a996a3b469e2fa5278f49160e9f85a.tar.gz
dexon-solidity-1ceb735fe1a996a3b469e2fa5278f49160e9f85a.tar.zst
dexon-solidity-1ceb735fe1a996a3b469e2fa5278f49160e9f85a.zip
Fix AssemblyAssignment in grammar
Diffstat (limited to 'docs/grammar.txt')
-rw-r--r--docs/grammar.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/grammar.txt b/docs/grammar.txt
index dc188572..ee655216 100644
--- a/docs/grammar.txt
+++ b/docs/grammar.txt
@@ -139,5 +139,5 @@ InlineAssemblyBlock = '{' AssemblyItem* '}'
AssemblyItem = Identifier | FunctionalAssemblyExpression | InlineAssemblyBlock | AssemblyLocalBinding | AssemblyAssignment | NumberLiteral | StringLiteral | HexLiteral
AssemblyLocalBinding = 'let' Identifier ':=' FunctionalAssemblyExpression
-AssemblyAssignment = Identifier ':=' FunctionalAssemblyExpression | '=:' Identifier
+AssemblyAssignment = ( Identifier ':=' FunctionalAssemblyExpression ) | ( '=:' Identifier )
FunctionalAssemblyExpression = Identifier '(' AssemblyItem? ( ',' AssemblyItem )* ')'