From fbc6b59305d8414bb1cb471ea3f85a8d926beb4f Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 25 Aug 2025 01:26:47 -0400 Subject: Further split out files for parsing --- src/parse/files.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/parse/files.h') diff --git a/src/parse/files.h b/src/parse/files.h index b8dc8726..3073449e 100644 --- a/src/parse/files.h +++ b/src/parse/files.h @@ -7,5 +7,9 @@ #include "../ast.h" #include "context.h" +ast_t *parse_file_str(const char *str); ast_t *parse_file(const char *path, jmp_buf *on_err); + ast_t *parse_file_body(parse_ctx_t *ctx, const char *pos); +ast_t *parse_use(parse_ctx_t *ctx, const char *pos); +ast_t *parse_extern(parse_ctx_t *ctx, const char *pos); -- cgit v1.2.3