summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2019-09-19 13:50:15 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2019-09-19 13:50:15 -0400
commitfb3e9b6da2aaf0d6cf1f31ab26419c3d83ed61e8 (patch)
tree55a143d66b2abc082db5e13a919c0fed1e265e33 /main.c
parent46b5ce1b8f52329a18095da9ca4a5ee58345ff92 (diff)
parent16ac802f5a8cfa961c92669f8e1fc66ff769fbdf (diff)
added arg type checking
Diffstat (limited to 'main.c')
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index 50df138..9b0e864 100644
--- a/main.c
+++ b/main.c
@@ -60,6 +60,7 @@ int main(int argc, char **argv) {
return EXIT_FAILURE;
}
+
block_enter(NULL, &f.stmts); /* enter global scope */
if (!types_file(&f)) {
err_fprint(TEXT_IMPORTANT("Errors occured while determining types.\n"));