diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-08-09 20:35:38 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-08-09 21:30:17 +0800 |
commit | efd45f64a542c722d750f79b483dd7428aba16ed (patch) | |
tree | 9faffe22eb9c3fa3a20248e1d7550a1b7dfd1d32 /libsolidity/parsing/Parser.h | |
parent | a8ca623a0f852c738b8bb92b449894ecc73b44e1 (diff) | |
download | dexon-solidity-efd45f64a542c722d750f79b483dd7428aba16ed.tar.gz dexon-solidity-efd45f64a542c722d750f79b483dd7428aba16ed.tar.zst dexon-solidity-efd45f64a542c722d750f79b483dd7428aba16ed.zip |
Show previous visibility specifier in parser error
Diffstat (limited to 'libsolidity/parsing/Parser.h')
-rw-r--r-- | libsolidity/parsing/Parser.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libsolidity/parsing/Parser.h b/libsolidity/parsing/Parser.h index 19631c58..82ab91a6 100644 --- a/libsolidity/parsing/Parser.h +++ b/libsolidity/parsing/Parser.h @@ -73,6 +73,7 @@ private: ASTPointer<ContractDefinition> parseContractDefinition(Token::Value _expectedKind); ASTPointer<InheritanceSpecifier> parseInheritanceSpecifier(); Declaration::Visibility parseVisibilitySpecifier(Token::Value _token); + std::string visibilitySpecifierName(Declaration::Visibility _visibility); FunctionHeaderParserResult parseFunctionHeader(bool _forceEmptyName, bool _allowModifiers); ASTPointer<ASTNode> parseFunctionDefinitionOrFunctionTypeStateVariable(ASTString const* _contractName); ASTPointer<FunctionDefinition> parseFunctionDefinition(ASTString const* _contractName); |