From 9e1d24a7eb436b3dbab1fdaea16a923e433133a1 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Thu, 15 Jun 2017 00:41:00 +0100 Subject: Support interface contracts --- docs/grammar.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/grammar.txt') 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* '}' -- cgit