aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-04-30 23:12:35 +0800
committerGitHub <noreply@github.com>2018-04-30 23:12:35 +0800
commiteb9dd24e5056b3394dfd47419c432ebd0b6aa413 (patch)
treea6f5e275eb79fd23e530f3ffb768b807936ede12 /docs
parentede6ee8776ee2917b0d2a988a5e86b192e9d7c0f (diff)
parent0da8f1e1e4a7fd6a46e1d99c1b81fafabde57382 (diff)
downloaddexon-solidity-eb9dd24e5056b3394dfd47419c432ebd0b6aa413.tar
dexon-solidity-eb9dd24e5056b3394dfd47419c432ebd0b6aa413.tar.gz
dexon-solidity-eb9dd24e5056b3394dfd47419c432ebd0b6aa413.tar.bz2
dexon-solidity-eb9dd24e5056b3394dfd47419c432ebd0b6aa413.tar.lz
dexon-solidity-eb9dd24e5056b3394dfd47419c432ebd0b6aa413.tar.xz
dexon-solidity-eb9dd24e5056b3394dfd47419c432ebd0b6aa413.tar.zst
dexon-solidity-eb9dd24e5056b3394dfd47419c432ebd0b6aa413.zip
Merge pull request #3975 from sledrho/develop
Updated StateVariable Grammar rule #3974
Diffstat (limited to 'docs')
-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 ';')* ) '}'