aboutsummaryrefslogtreecommitdiff
path: root/parse.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-07-05 15:51:23 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-07-05 15:51:23 -0400
commita86dc05d366c0733b645763dd5c3e7396041bd7b (patch)
tree409af6b99d0bb828ca44b75202e170dea87389b9 /parse.h
parente51e6f840cb2414cad6e816aea7adea74ee8b1b8 (diff)
Cache AST parsings so we don't have to re-parse files
Diffstat (limited to 'parse.h')
-rw-r--r--parse.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.h b/parse.h
index 9dae2c74..ebd49d5f 100644
--- a/parse.h
+++ b/parse.h
@@ -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