diff options
author | Nicolai <NicolaiSoeborg@users.noreply.github.com> | 2016-07-27 22:03:40 +0800 |
---|---|---|
committer | Nicolai <NicolaiSoeborg@users.noreply.github.com> | 2016-07-27 22:03:40 +0800 |
commit | cde629d48d36aa7944a5e6c9a436b8a021c12f2d (patch) | |
tree | 4c5bdb68bd181476b2c33f0a6c379782d1bf8585 /libsolidity/grammar.txt | |
parent | ec0933bf9f2ad60093c0bac9dd73c5541a34dfee (diff) | |
download | dexon-solidity-cde629d48d36aa7944a5e6c9a436b8a021c12f2d.tar.gz dexon-solidity-cde629d48d36aa7944a5e6c9a436b8a021c12f2d.tar.zst dexon-solidity-cde629d48d36aa7944a5e6c9a436b8a021c12f2d.zip |
Added wildcard to UsingForDeclaration
Diffstat (limited to 'libsolidity/grammar.txt')
-rw-r--r-- | libsolidity/grammar.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libsolidity/grammar.txt b/libsolidity/grammar.txt index 23022676..02726a89 100644 --- a/libsolidity/grammar.txt +++ b/libsolidity/grammar.txt @@ -8,13 +8,13 @@ ImportDirective = 'import' StringLiteral ('as' Identifier)? | 'import' ('*' | Identifier) ('as' Identifier)? 'from' StringLiteral | 'import' '{' Identifier ('as' Identifier)? ( ',' Identifier ('as' Identifier)? )* '}' 'from' StringLiteral -ContractPart = StateVariableDecOrDef | UsingDeclaration +ContractPart = StateVariableDeclaration | UsingForDeclaration | StructDefinition | ModifierDefinition | FunctionDefinition | EventDefinition | EnumDefinition InheritanceSpecifier = Identifier ( '(' Expression ( ',' Expression )* ')' )? -StateVariableDecOrDef = TypeName ( 'public' | 'internal' | 'private' )? Identifier ('=' Expression)? ';' -UsingDeclaration = 'using' Identifier 'for' TypeName ';' +StateVariableDeclaration = TypeName ( 'public' | 'internal' | 'private' )? Identifier ('=' Expression)? ';' +UsingForDeclaration = 'using' Identifier 'for' ('*' | TypeName) ';' StructDefinition = 'struct' Identifier '{' ( VariableDeclaration ';' (VariableDeclaration ';')* )? '}' ModifierDefinition = 'modifier' Identifier ParameterList? Block |