blob: b8dc8726481efbab1e44be32bafc26fe35bdc380 (
plain)
1
2
3
4
5
6
7
8
9
10
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);
|