aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFederico Bond <federicobond@gmail.com>2016-12-27 09:57:00 +0800
committerGitHub <noreply@github.com>2016-12-27 09:57:00 +0800
commit890a8818b5455eb067b5ee2ed6c9d32623c0c94c (patch)
tree6dec744b985830dbfd2622c223626be50744b1a1
parent507525be5f3fec5860d226010beea6550373fd0b (diff)
downloaddexon-solidity-890a8818b5455eb067b5ee2ed6c9d32623c0c94c.tar.gz
dexon-solidity-890a8818b5455eb067b5ee2ed6c9d32623c0c94c.tar.zst
dexon-solidity-890a8818b5455eb067b5ee2ed6c9d32623c0c94c.zip
Add unimplemented functions to grammar
-rw-r--r--docs/grammar.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/grammar.txt b/docs/grammar.txt
index 5fac96a1..c9f7f448 100644
--- a/docs/grammar.txt
+++ b/docs/grammar.txt
@@ -23,7 +23,7 @@ StructDefinition = 'struct' Identifier '{'
ModifierDefinition = 'modifier' Identifier ParameterList? Block
FunctionDefinition = 'function' Identifier? ParameterList
( FunctionCall | Identifier | 'constant' | 'payable' | 'external' | 'public' | 'internal' | 'private' )*
- ( 'returns' ParameterList )? Block
+ ( 'returns' ParameterList )? ( ';' | Block )
EventDefinition = 'event' Identifier IndexedParameterList 'anonymous'? ';'
EnumValue = Identifier