aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/cps/Parser.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cps/Parser.h b/include/cps/Parser.h
index fbccb3c..eff25a5 100644
--- a/include/cps/Parser.h
+++ b/include/cps/Parser.h
@@ -93,6 +93,8 @@ class Parser {
std::unique_ptr<FunctionDefAST> ParseFunction(const std::string &OwnerClass = {}, bool IsPublic = true, bool IsOverload = false);
std::unique_ptr<FunctionDefAST> ParseProcedure(const std::string &OwnerClass = {}, bool IsPublic = true, bool IsOverload = false);
+ std::unique_ptr<FunctionDefAST> ParseFunctionBody(
+ std::unique_ptr<PrototypeAST> Proto, int EndToken, const char *EndMessage, int Line);
std::unique_ptr<StmtAST> ParseExternDecl();
std::unique_ptr<StmtAST> ParseCallStmt();
std::unique_ptr<StmtAST> ParseReturnStmt();