From 1a661c562a7689a13905e5c1bf7a100c5f6b5dda Mon Sep 17 00:00:00 2001 From: Nicolai Date: Mon, 25 Jul 2016 16:53:15 +0200 Subject: Allow function to call modifiers --- libsolidity/grammar.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsolidity/grammar.txt b/libsolidity/grammar.txt index b71508dd..63201711 100644 --- a/libsolidity/grammar.txt +++ b/libsolidity/grammar.txt @@ -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'? ';' -- cgit