diff options
author | chriseth <chris@ethereum.org> | 2018-04-30 23:12:35 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-30 23:12:35 +0800 |
commit | eb9dd24e5056b3394dfd47419c432ebd0b6aa413 (patch) | |
tree | a6f5e275eb79fd23e530f3ffb768b807936ede12 | |
parent | ede6ee8776ee2917b0d2a988a5e86b192e9d7c0f (diff) | |
parent | 0da8f1e1e4a7fd6a46e1d99c1b81fafabde57382 (diff) | |
download | dexon-solidity-eb9dd24e5056b3394dfd47419c432ebd0b6aa413.tar.gz dexon-solidity-eb9dd24e5056b3394dfd47419c432ebd0b6aa413.tar.zst dexon-solidity-eb9dd24e5056b3394dfd47419c432ebd0b6aa413.zip |
Merge pull request #3975 from sledrho/develop
Updated StateVariable Grammar rule #3974
-rw-r--r-- | docs/grammar.txt | 2 |
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 ';')* ) '}' |