aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/grammar.txt
diff options
context:
space:
mode:
authorNicolai <NicolaiSoeborg@users.noreply.github.com>2016-07-25 22:53:15 +0800
committerNicolai <NicolaiSoeborg@users.noreply.github.com>2016-07-25 22:53:15 +0800
commit1a661c562a7689a13905e5c1bf7a100c5f6b5dda (patch)
tree1ae6007f8e888451c8e2997d999627bd7d4fe0d5 /libsolidity/grammar.txt
parentbd2562ffd326ad91bb0b4bd262ffafb2516d9393 (diff)
downloaddexon-solidity-1a661c562a7689a13905e5c1bf7a100c5f6b5dda.tar.gz
dexon-solidity-1a661c562a7689a13905e5c1bf7a100c5f6b5dda.tar.zst
dexon-solidity-1a661c562a7689a13905e5c1bf7a100c5f6b5dda.zip
Allow function to call modifiers
Diffstat (limited to 'libsolidity/grammar.txt')
-rw-r--r--libsolidity/grammar.txt2
1 files changed, 1 insertions, 1 deletions
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'? ';'