diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-02-14 06:47:55 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-02-14 06:48:50 +0800 |
commit | 41647fd75f3c131ecade223fc58a1f6eed2ee235 (patch) | |
tree | d931e379a3cdf36d116aa741e898fc41088e4854 /grammar.txt | |
parent | 68cf1bf37dc0287b8313aa65ae07624e5d81bde2 (diff) | |
download | dexon-solidity-41647fd75f3c131ecade223fc58a1f6eed2ee235.tar.gz dexon-solidity-41647fd75f3c131ecade223fc58a1f6eed2ee235.tar.zst dexon-solidity-41647fd75f3c131ecade223fc58a1f6eed2ee235.zip |
Removing ';' from the end of EnumDefinition
Diffstat (limited to 'grammar.txt')
-rw-r--r-- | grammar.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grammar.txt b/grammar.txt index 5ba0ef23..5e6e65f8 100644 --- a/grammar.txt +++ b/grammar.txt @@ -13,7 +13,7 @@ FunctionDefinition = 'function' Identifier ParameterList ( 'returns' ParameterList )? Block EnumValue = Identifier -EnumDefinition = 'enum' '{' EnumValue (',' EnumValue)* '}' ';' +EnumDefinition = 'enum' '{' EnumValue (',' EnumValue)* '}' ParameterList = '(' ( VariableDeclaration (',' VariableDeclaration)* )? ')' // semantic restriction: mappings and structs (recursively) containing mappings // are not allowed in argument lists |