From 3d8eb10897a86b2616c6a1aa843b7ebe4134ac51 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sun, 13 Dec 2015 14:33:52 -0700 Subject: fix incorrect debug info path to imports --- 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 7811c200fd..2846a8c7ae 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -144,7 +144,7 @@ static int build(const char *arg0, int argc, char **argv) { codegen_set_out_name(g, buf_create_from_str(b.out_name)); codegen_set_verbose(g, b.verbose); codegen_set_errmsg_color(g, b.color); - codegen_add_root_code(g, &root_source_name, &root_source_code); + codegen_add_root_code(g, &root_source_dir, &root_source_name, &root_source_code); codegen_link(g, b.out_file); return 0; -- cgit v1.2.3