summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-01-09 21:21:50 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2020-01-09 21:21:50 -0500
commitb9ee8f9f83b4ed8fac81a3b530732537c4495ea1 (patch)
tree8f9d525a750f0c57c6603123926777716caccd49 /main.c
parentc156e952d94049e8dbd8bc9a0f294712c6f253e8 (diff)
changed TYPE_TYPE,PKG to TYPE_BUILTINs
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 849aabf..0259f07 100644
--- a/main.c
+++ b/main.c
@@ -117,7 +117,7 @@ int main(int argc, char **argv) {
Evaluator ev;
Exporter exptr;
evalr_create(&ev, &tr, &main_allocr);
- typer_create(&tr, &ev, &main_allocr, &idents);
+ typer_create(&tr, &ev, &err_ctx, &main_allocr, &idents);
tr.exptr = &exptr;
if (!block_enter(NULL, f.stmts, SCOPE_CHECK_REDECL)) /* enter global scope */