mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Allow function to call modifiers
This commit is contained in:
parent
bd2562ffd3
commit
1a661c562a
@ -18,7 +18,7 @@ StructDefinition = 'struct' Identifier '{'
|
||||
( VariableDeclaration ';' (VariableDeclaration ';')* )? '}'
|
||||
ModifierDefinition = 'modifier' Identifier ParameterList? Block
|
||||
FunctionDefinition = 'function' Identifier ParameterList
|
||||
( Identifier | 'constant' | 'external' | 'public' | 'internal' | 'private' )*
|
||||
( FunctionCall | 'constant' | 'external' | 'public' | 'internal' | 'private' )*
|
||||
( 'returns' (ParameterList | TypeParameterList) )? Block
|
||||
EventDefinition = 'event' Identifier (ParameterList | TypeParameterList | IndexedTypeParameterList) 'anonymous'? ';'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user