diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-17 15:02:01 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-17 15:02:01 +0000 |
| commit | a29cb23c5517fd4f8f5524fdf38b67ff5fe4a902 (patch) | |
| tree | a3bfa1a30a16c03f420cbe706fd42143d653064d /include/cps/Parser.h | |
| parent | 4a34e970fb224be7640883f6b0dfa602157759f4 (diff) | |
feat(parser): parse EXTERN "C" declarations and INCLUDE_OBJ
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'include/cps/Parser.h')
| -rw-r--r-- | include/cps/Parser.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/cps/Parser.h b/include/cps/Parser.h index d9e8358..f877ae6 100644 --- a/include/cps/Parser.h +++ b/include/cps/Parser.h @@ -75,6 +75,7 @@ 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<StmtAST> ParseExternDecl(); std::unique_ptr<StmtAST> ParseCallStmt(); std::unique_ptr<StmtAST> ParseReturnStmt(); std::optional<std::vector<ParamDecl>> ParsePrototypeArgs(bool AllowByRef); |
