aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index a61b860..6cb715a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -29,7 +29,7 @@ main(int argc, char **argv)
struct lexemes toks = lexstring(src, srclen);
struct ast ast = parsetoks(toks);
- struct type *types = analyzeast(ast, toks);
+ struct type *types = analyzeprog(ast, toks);
// codegen(argv[1], types, ast, toks);
#if DEBUG