diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-07-25 07:04:27 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-07-25 07:05:19 +0800 |
commit | ed4022fbca92f5c2dc4bc5a6a7e58db9f040c07d (patch) | |
tree | b615da9604501cb44f1640695a0782c2dc642065 | |
parent | ae0959ae125ac2ae7084041a87c0736a8e7df6c6 (diff) | |
download | dexon-solidity-ed4022fbca92f5c2dc4bc5a6a7e58db9f040c07d.tar.gz dexon-solidity-ed4022fbca92f5c2dc4bc5a6a7e58db9f040c07d.tar.zst dexon-solidity-ed4022fbca92f5c2dc4bc5a6a7e58db9f040c07d.zip |
grammar: support all assignment stataments in inline assembly
-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 7b29fc62..082ba525 100644 --- a/docs/grammar.txt +++ b/docs/grammar.txt @@ -156,6 +156,6 @@ InlineAssemblyBlock = '{' AssemblyItem* '}' AssemblyItem = Identifier | FunctionalAssemblyExpression | InlineAssemblyBlock | AssemblyLocalBinding | AssemblyAssignment | AssemblyLabel | NumberLiteral | StringLiteral | HexLiteral AssemblyLocalBinding = 'let' Identifier ':=' FunctionalAssemblyExpression -AssemblyAssignment = ( Identifier ':=' FunctionalAssemblyExpression ) | ( '=:' Identifier ) +AssemblyAssignment = ( Identifier ':=' ( Identifier | FunctionalAssemblyExpression ) ) | ( '=:' Identifier ) AssemblyLabel = Identifier ':' FunctionalAssemblyExpression = Identifier '(' AssemblyItem? ( ',' AssemblyItem )* ')' |