mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Support dialect of assembly in grammar
This commit is contained in:
parent
9e1d24a7eb
commit
eb73015fd2
@ -62,7 +62,7 @@ WhileStatement = 'while' '(' Expression ')' Statement
|
|||||||
PlaceholderStatement = '_'
|
PlaceholderStatement = '_'
|
||||||
SimpleStatement = VariableDefinition | ExpressionStatement
|
SimpleStatement = VariableDefinition | ExpressionStatement
|
||||||
ForStatement = 'for' '(' (SimpleStatement)? ';' (Expression)? ';' (ExpressionStatement)? ')' Statement
|
ForStatement = 'for' '(' (SimpleStatement)? ';' (Expression)? ';' (ExpressionStatement)? ')' Statement
|
||||||
InlineAssemblyStatement = 'assembly' InlineAssemblyBlock
|
InlineAssemblyStatement = 'assembly' StringLiteral? InlineAssemblyBlock
|
||||||
DoWhileStatement = 'do' Statement 'while' '(' Expression ')'
|
DoWhileStatement = 'do' Statement 'while' '(' Expression ')'
|
||||||
Continue = 'continue'
|
Continue = 'continue'
|
||||||
Break = 'break'
|
Break = 'break'
|
||||||
|
Loading…
Reference in New Issue
Block a user