diff options
author | chriseth <chris@ethereum.org> | 2016-11-11 16:33:19 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-11 16:33:19 +0800 |
commit | 1e845c279b3a86c87b56e1007406a96d55004a9c (patch) | |
tree | fcb6615ca4eade63d43f456e00dc9fef98079e22 /libsolidity | |
parent | a40dcfef1257c4b159eb8248ecb0f837b42d8ead (diff) | |
download | dexon-solidity-1e845c279b3a86c87b56e1007406a96d55004a9c.tar.gz dexon-solidity-1e845c279b3a86c87b56e1007406a96d55004a9c.tar.zst dexon-solidity-1e845c279b3a86c87b56e1007406a96d55004a9c.zip |
Fix semicolons
Diffstat (limited to 'libsolidity')
-rw-r--r-- | libsolidity/grammar.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libsolidity/grammar.txt b/libsolidity/grammar.txt index 586c41e9..3edb4eba 100644 --- a/libsolidity/grammar.txt +++ b/libsolidity/grammar.txt @@ -41,8 +41,8 @@ ArrayTypeName = TypeName StorageLocation? '[' Expression? ']' StorageLocation = 'memory' | 'storage' Block = '{' Statement* '}' -Statement = IfStatement | WhileStatement | DoWhileStatement | ForStatement | Block | - ( PlaceholderStatement | Continue | Break | Return | +Statement = IfStatement | WhileStatement | ForStatement | Block | + ( DoWhileStatement | PlaceholderStatement | Continue | Break | Return | Throw | SimpleStatement ) ';' ExpressionStatement = Expression @@ -51,7 +51,7 @@ WhileStatement = 'while' '(' Expression ')' Statement PlaceholderStatement = '_' SimpleStatement = VariableDefinition | ExpressionStatement ForStatement = 'for' '(' (SimpleStatement)? ';' (Expression)? ';' (ExpressionStatement)? ')' Statement -DoWhileStatement = 'do' Statement 'while' '(' Expression ')' ';' +DoWhileStatement = 'do' Statement 'while' '(' Expression ')' Continue = 'continue' Break = 'break' Return = 'return' Expression? |