From aed80436a0a5eb12d9cace916167b0f7bd433589 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 25 Aug 2025 00:40:03 -0400 Subject: Splitting out parser more. --- src/parse/files.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/parse/files.h (limited to 'src/parse/files.h') diff --git a/src/parse/files.h b/src/parse/files.h new file mode 100644 index 00000000..b8dc8726 --- /dev/null +++ b/src/parse/files.h @@ -0,0 +1,11 @@ +// Logic for parsing a whole file +#pragma once + +#include +#include + +#include "../ast.h" +#include "context.h" + +ast_t *parse_file(const char *path, jmp_buf *on_err); +ast_t *parse_file_body(parse_ctx_t *ctx, const char *pos); -- cgit v1.2.3