aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-10-22 17:52:12 -0400
committerAndrew Kelley <andrew@ziglang.org>2019-10-22 17:52:12 -0400
commitf65b1d46804bce716f16465b60c6daa2921e4519 (patch)
treef22e5fac294a4f5f638f2005948c05fb1846e5b8 /src/main.cpp
parentdc080573d160a444e2e7c1fb88fac27c8060269f (diff)
downloadzig-f65b1d46804bce716f16465b60c6daa2921e4519.tar.gz
zig-f65b1d46804bce716f16465b60c6daa2921e4519.zip
integrate stage1 progress display with semantic analysis
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 4709035859..69f0abac60 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1333,6 +1333,10 @@ int main(int argc, char **argv) {
g->enable_cache = get_cache_opt(enable_cache, output_dir == nullptr);
codegen_build_and_link(g);
+ if (root_progress_node != nullptr) {
+ stage2_progress_end(root_progress_node);
+ root_progress_node = nullptr;
+ }
if (timing_info) {
codegen_print_timing_report(g, stdout);