diff options
Diffstat (limited to 'src/compiler.c')
| -rw-r--r-- | src/compiler.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |
