From 16ac802f5a8cfa961c92669f8e1fc66ff769fbdf Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Wed, 18 Sep 2019 21:09:23 -0400 Subject: idealistic float, double => f32, f64; literals were also being typed in parsing for some reason? trying to fix --- main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'main.c') 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")); -- cgit v1.2.3