aboutsummaryrefslogtreecommitdiff
path: root/include/cps/Parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cps/Parser.h')
-rw-r--r--include/cps/Parser.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/cps/Parser.h b/include/cps/Parser.h
index 39adfd1..9bf8afb 100644
--- a/include/cps/Parser.h
+++ b/include/cps/Parser.h
@@ -46,7 +46,8 @@ class Parser {
std::unique_ptr<ExprAST> ParseNumberExpr();
std::unique_ptr<ExprAST> ParseIdentifierExpr();
- std::string ParseOperatorName(int &Op);
+ std::string ParseOperatorName(int *Op = nullptr);
+ bool ParseCalleeName(std::string &Name);
std::unique_ptr<ExprAST> ParseParenExpr();
std::unique_ptr<MemberCallExprAST> ParseMemberCall(
const std::string &Name, std::vector<DesignatorAccess> Accesses, int Line);