diff options
| author | Josh Wolfe <thejoshwolfe@gmail.com> | 2015-11-30 22:54:00 -0700 |
|---|---|---|
| committer | Josh Wolfe <thejoshwolfe@gmail.com> | 2015-11-30 22:54:00 -0700 |
| commit | 9278dbedd5242bf4253da29c0fab36eea9dda61b (patch) | |
| tree | 4bf997d327984a4772d7031de26949bc1b6e91c7 /src/main.cpp | |
| parent | 18cfcfe44f4b4d624f20508210e2928396e3cf10 (diff) | |
| parent | cd68969115f19b09aeb72923426e722725ba9451 (diff) | |
| download | zig-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.cpp | 2 |
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; |
