diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-06-15 07:41:00 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-06-15 07:41:00 +0800 |
commit | 9e1d24a7eb436b3dbab1fdaea16a923e433133a1 (patch) | |
tree | f965a208cb0e44cda247042260e1ae22ac0ac996 /docs | |
parent | 4970d89f3b4b38a447def0ce1e9c705a8a494291 (diff) | |
download | dexon-solidity-9e1d24a7eb436b3dbab1fdaea16a923e433133a1.tar.gz dexon-solidity-9e1d24a7eb436b3dbab1fdaea16a923e433133a1.tar.zst dexon-solidity-9e1d24a7eb436b3dbab1fdaea16a923e433133a1.zip |
Support interface contracts
Diffstat (limited to 'docs')
-rw-r--r-- | docs/grammar.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/grammar.txt b/docs/grammar.txt index c67a8a4a..f0350239 100644 --- a/docs/grammar.txt +++ b/docs/grammar.txt @@ -7,7 +7,7 @@ ImportDirective = 'import' StringLiteral ('as' Identifier)? ';' | 'import' ('*' | Identifier) ('as' Identifier)? 'from' StringLiteral ';' | 'import' '{' Identifier ('as' Identifier)? ( ',' Identifier ('as' Identifier)? )* '}' 'from' StringLiteral ';' -ContractDefinition = ( 'contract' | 'library' ) Identifier +ContractDefinition = ( 'contract' | 'library' | 'interface' ) Identifier ( 'is' InheritanceSpecifier (',' InheritanceSpecifier )* )? '{' ContractPart* '}' |