aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-06-15 07:43:19 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-06-15 07:43:19 +0800
commiteb73015fd2c93abddef6477190180d04b396973a (patch)
tree33fc094456fb794599009fcce74087c9b1986f23
parent9e1d24a7eb436b3dbab1fdaea16a923e433133a1 (diff)
downloaddexon-solidity-eb73015fd2c93abddef6477190180d04b396973a.tar.gz
dexon-solidity-eb73015fd2c93abddef6477190180d04b396973a.tar.zst
dexon-solidity-eb73015fd2c93abddef6477190180d04b396973a.zip
Support dialect of assembly in grammar
-rw-r--r--docs/grammar.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/grammar.txt b/docs/grammar.txt
index f0350239..09e492f3 100644
--- a/docs/grammar.txt
+++ b/docs/grammar.txt
@@ -62,7 +62,7 @@ WhileStatement = 'while' '(' Expression ')' Statement
PlaceholderStatement = '_'
SimpleStatement = VariableDefinition | ExpressionStatement
ForStatement = 'for' '(' (SimpleStatement)? ';' (Expression)? ';' (ExpressionStatement)? ')' Statement
-InlineAssemblyStatement = 'assembly' InlineAssemblyBlock
+InlineAssemblyStatement = 'assembly' StringLiteral? InlineAssemblyBlock
DoWhileStatement = 'do' Statement 'while' '(' Expression ')'
Continue = 'continue'
Break = 'break'