aboutsummaryrefslogtreecommitdiffstats
path: root/Parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'Parser.h')
-rw-r--r--Parser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Parser.h b/Parser.h
index f8940d1a..88369052 100644
--- a/Parser.h
+++ b/Parser.h
@@ -32,7 +32,7 @@ class Scanner;
class Parser
{
public:
- ptr<ASTNode> parse(std::shared_ptr<Scanner> const& _scanner);
+ ptr<ContractDefinition> parse(std::shared_ptr<Scanner> const& _scanner);
private:
class ASTNodeFactory;
@@ -50,7 +50,7 @@ private:
ptr<VariableDeclaration> parseVariableDeclaration();
ptr<TypeName> parseTypeName();
ptr<Mapping> parseMapping();
- ptr<ParameterList> parseParameterList();
+ ptr<ParameterList> parseParameterList(bool _permitEmpty = true);
ptr<Block> parseBlock();
ptr<Statement> parseStatement();
ptr<IfStatement> parseIfStatement();