aboutsummaryrefslogtreecommitdiffstats
path: root/grammar.txt
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-02-14 06:47:55 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-02-14 06:48:50 +0800
commit41647fd75f3c131ecade223fc58a1f6eed2ee235 (patch)
treed931e379a3cdf36d116aa741e898fc41088e4854 /grammar.txt
parent68cf1bf37dc0287b8313aa65ae07624e5d81bde2 (diff)
downloaddexon-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.txt2
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