From 54230d2d5d15638fdf7c3893ee436fd8bc380e8c Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Tue, 7 Feb 2017 22:12:38 +0000 Subject: Support interface (contract) keyword in the parser --- libsolidity/parsing/Parser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libsolidity/parsing/Parser.h') diff --git a/libsolidity/parsing/Parser.h b/libsolidity/parsing/Parser.h index 79d1d1d4..bf972c65 100644 --- a/libsolidity/parsing/Parser.h +++ b/libsolidity/parsing/Parser.h @@ -69,7 +69,7 @@ private: ///@name Parsing functions for the AST nodes ASTPointer parsePragmaDirective(); ASTPointer parseImportDirective(); - ASTPointer parseContractDefinition(bool _isLibrary); + ASTPointer parseContractDefinition(Token::Value _expectedKind); ASTPointer parseInheritanceSpecifier(); Declaration::Visibility parseVisibilitySpecifier(Token::Value _token); FunctionHeaderParserResult parseFunctionHeader(bool _forceEmptyName, bool _allowModifiers); -- cgit v1.2.3