From 6de33ded81981554ccffc3ecbfcd5b0f628cf502 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sun, 23 Apr 2017 13:22:36 -0400 Subject: make undefined as a constant value lazy closes #268 --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index bf2dbcf683..5713847e4c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -609,7 +609,7 @@ int main(int argc, char **argv) { return EXIT_SUCCESS; } else if (cmd == CmdParseH) { codegen_parseh(g, &root_source_dir, &root_source_name, &root_source_code); - ast_render_decls(stdout, 4, g->root_import); + ast_render_decls(g, stdout, 4, g->root_import); return EXIT_SUCCESS; } else if (cmd == CmdTest) { codegen_add_root_code(g, &root_source_dir, &root_source_name, &root_source_code); -- cgit v1.2.3