From 78cf00cb506cb86112cb715e4d2d69ec11b20c42 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Mon, 27 Mar 2023 03:18:48 +0300 Subject: change typeof to be a full time type --- src/compiler.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/compiler.c') diff --git a/src/compiler.c b/src/compiler.c index a1a5c92..b124a6f 100644 --- a/src/compiler.c +++ b/src/compiler.c @@ -140,6 +140,7 @@ int compile(const char *file) { int ret = -1; struct scope *root = NULL; if (process_file(&root, 0, file)) { + destroy_scope(root); error("compilation of %s stopped due to errors", file); return ret; } -- cgit v1.3