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 cf27234..c9fe186 100644
--- a/include/cps/Parser.h
+++ b/include/cps/Parser.h
@@ -78,6 +78,8 @@ class Parser {
std::unique_ptr<StmtAST> ParseConstant();
std::unique_ptr<StmtAST> ParseAssignStmt();
bool ParseDesignatorSuffix(std::vector<DesignatorAccess> &Out);
+ static std::unique_ptr<ExprAST> makeDesignator(
+ const std::string &Name, std::vector<DesignatorAccess> Accesses, int Line);
std::unique_ptr<StmtAST> ParseTypeDecl();
std::unique_ptr<StmtAST> ParseTemplateDecl();