From cd68969115f19b09aeb72923426e722725ba9451 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Mon, 30 Nov 2015 22:53:37 -0700 Subject: closer to multiple files working --- 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 b88d6ecd6b..d96cb92e40 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -73,7 +73,7 @@ static int build(const char *arg0, Build *b) { if (b->out_name) codegen_set_out_name(g, buf_create_from_str(b->out_name)); codegen_set_verbose(g, b->verbose); - codegen_add_code(g, &root_source_name, &root_source_code); + codegen_add_root_code(g, &root_source_name, &root_source_code); codegen_link(g, b->out_file); return 0; -- cgit v1.2.3