aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorJosh Wolfe <thejoshwolfe@gmail.com>2015-11-30 22:54:00 -0700
committerJosh Wolfe <thejoshwolfe@gmail.com>2015-11-30 22:54:00 -0700
commit9278dbedd5242bf4253da29c0fab36eea9dda61b (patch)
tree4bf997d327984a4772d7031de26949bc1b6e91c7 /src/main.cpp
parent18cfcfe44f4b4d624f20508210e2928396e3cf10 (diff)
parentcd68969115f19b09aeb72923426e722725ba9451 (diff)
downloadzig-9278dbedd5242bf4253da29c0fab36eea9dda61b.tar.gz
zig-9278dbedd5242bf4253da29c0fab36eea9dda61b.zip
Merge remote-tracking branch 'origin/master' into type-checking
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
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;