summaryrefslogtreecommitdiff
path: root/types.c
diff options
context:
space:
mode:
Diffstat (limited to 'types.c')
-rw-r--r--types.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/types.c b/types.c
index 563be4a..b5ba6c9 100644
--- a/types.c
+++ b/types.c
@@ -2168,7 +2168,7 @@ static void typer_create(Typer *tr, Evaluator *ev, Allocator *allocr, Identifier
*(Block **)arr_adda(&tr->blocks, allocr) = NULL;
}
-static bool types_file(Typer *tr, ParsedFile *f, char *code) {
+static bool types_file(Typer *tr, ParsedFile *f) {
bool ret = true;
FILE *pkg_fp = NULL;
if (f->pkg_name) {
@@ -2204,7 +2204,7 @@ static bool types_file(Typer *tr, ParsedFile *f, char *code) {
return false;
}
free(pkg_file_name);
- exptr_create(tr->exptr, pkg_fp, code);
+ exptr_create(tr->exptr, pkg_fp);
exptr_start(tr->exptr, pkg_name_str, pkg_name_len);
}
arr_foreach(f->stmts, Statement, s) {