diff options
author | Erik Kundt <bitshift@posteo.org> | 2018-06-27 18:29:03 +0800 |
---|---|---|
committer | Erik Kundt <bitshift@posteo.org> | 2018-07-18 20:29:01 +0800 |
commit | 182a0a95516e4f218524b929035e6a1bd5d2742c (patch) | |
tree | bcf6743a43070346a5193f1a4d9d12c3b5bd092c /libsolidity/parsing/Parser.h | |
parent | b909df4573130e020c7f4dfb61c0571ba1bc02ab (diff) | |
download | dexon-solidity-182a0a95516e4f218524b929035e6a1bd5d2742c.tar dexon-solidity-182a0a95516e4f218524b929035e6a1bd5d2742c.tar.gz dexon-solidity-182a0a95516e4f218524b929035e6a1bd5d2742c.tar.bz2 dexon-solidity-182a0a95516e4f218524b929035e6a1bd5d2742c.tar.lz dexon-solidity-182a0a95516e4f218524b929035e6a1bd5d2742c.tar.xz dexon-solidity-182a0a95516e4f218524b929035e6a1bd5d2742c.tar.zst dexon-solidity-182a0a95516e4f218524b929035e6a1bd5d2742c.zip |
Disallows old constructor syntax.
Diffstat (limited to 'libsolidity/parsing/Parser.h')
-rw-r--r-- | libsolidity/parsing/Parser.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libsolidity/parsing/Parser.h b/libsolidity/parsing/Parser.h index 08653364..c906771a 100644 --- a/libsolidity/parsing/Parser.h +++ b/libsolidity/parsing/Parser.h @@ -74,12 +74,8 @@ private: ASTPointer<InheritanceSpecifier> parseInheritanceSpecifier(); Declaration::Visibility parseVisibilitySpecifier(Token::Value _token); StateMutability parseStateMutability(Token::Value _token); - FunctionHeaderParserResult parseFunctionHeader( - bool _forceEmptyName, - bool _allowModifiers, - ASTString const* _contractName = nullptr - ); - ASTPointer<ASTNode> parseFunctionDefinitionOrFunctionTypeStateVariable(ASTString const* _contractName); + FunctionHeaderParserResult parseFunctionHeader(bool _forceEmptyName, bool _allowModifiers); + ASTPointer<ASTNode> parseFunctionDefinitionOrFunctionTypeStateVariable(); ASTPointer<FunctionDefinition> parseFunctionDefinition(ASTString const* _contractName); ASTPointer<StructDefinition> parseStructDefinition(); ASTPointer<EnumDefinition> parseEnumDefinition(); |