aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsledrho <rory.sheldon@live.co.uk>2018-04-23 17:04:43 +0800
committersledrho <rory.sheldon@live.co.uk>2018-04-23 17:04:43 +0800
commit0da8f1e1e4a7fd6a46e1d99c1b81fafabde57382 (patch)
tree777dcf05ee2fad6c0dca38b5f170ecdde91b8b9b
parent2fae248dbe50bed93268529724c1e3691f3c4a3f (diff)
downloaddexon-solidity-0da8f1e1e4a7fd6a46e1d99c1b81fafabde57382.tar
dexon-solidity-0da8f1e1e4a7fd6a46e1d99c1b81fafabde57382.tar.gz
dexon-solidity-0da8f1e1e4a7fd6a46e1d99c1b81fafabde57382.tar.bz2
dexon-solidity-0da8f1e1e4a7fd6a46e1d99c1b81fafabde57382.tar.lz
dexon-solidity-0da8f1e1e4a7fd6a46e1d99c1b81fafabde57382.tar.xz
dexon-solidity-0da8f1e1e4a7fd6a46e1d99c1b81fafabde57382.tar.zst
dexon-solidity-0da8f1e1e4a7fd6a46e1d99c1b81fafabde57382.zip
Updated StateVariableGrammar rule #3974
-rw-r--r--docs/grammar.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/grammar.txt b/docs/grammar.txt
index b4ca5ca9..565db9a4 100644
--- a/docs/grammar.txt
+++ b/docs/grammar.txt
@@ -16,7 +16,7 @@ ContractPart = StateVariableDeclaration | UsingForDeclaration
InheritanceSpecifier = UserDefinedTypeName ( '(' Expression ( ',' Expression )* ')' )?
-StateVariableDeclaration = TypeName ( 'public' | 'internal' | 'private' | 'constant' )? Identifier ('=' Expression)? ';'
+StateVariableDeclaration = TypeName ( 'public' | 'internal' | 'private' | 'constant' )* Identifier ('=' Expression)? ';'
UsingForDeclaration = 'using' Identifier 'for' ('*' | TypeName) ';'
StructDefinition = 'struct' Identifier '{'
( VariableDeclaration ';' (VariableDeclaration ';')* ) '}'