diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-07-05 15:51:23 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-07-05 15:51:23 -0400 |
| commit | a86dc05d366c0733b645763dd5c3e7396041bd7b (patch) | |
| tree | 409af6b99d0bb828ca44b75202e170dea87389b9 /parse.h | |
| parent | e51e6f840cb2414cad6e816aea7adea74ee8b1b8 (diff) | |
Cache AST parsings so we don't have to re-parse files
Diffstat (limited to 'parse.h')
| -rw-r--r-- | parse.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8,6 +8,6 @@ type_ast_t *parse_type_str(const char *str); ast_t *parse_expression_str(const char *str); -ast_t *parse_file(file_t *file, jmp_buf *on_err); +ast_t *parse_file(const char *path, jmp_buf *on_err); // vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 |
