diff options
Diffstat (limited to 'src/parse/files.h')
| -rw-r--r-- | src/parse/files.h | 11 |
1 files changed, 11 insertions, 0 deletions
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 <setjmp.h> +#include <stdint.h> + +#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); |
