diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-01-02 22:01:51 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-02 22:01:51 -0800 |
| commit | d8f3f14532c4b5d65377efaef015c3855137dccf (patch) | |
| tree | d0927df77323d64bff52501b50ef8543a077d4d8 /src/main.zig | |
| parent | 3d151fbfc8db71f87ee84dd33c49910584708a04 (diff) | |
| parent | 654832253a7857e78aab85e28ed09fb16b632dd2 (diff) | |
| download | zig-d8f3f14532c4b5d65377efaef015c3855137dccf.tar.gz zig-d8f3f14532c4b5d65377efaef015c3855137dccf.zip | |
Merge pull request #7647 from ziglang/stage2-comptime-fn-call
stage2: comptime function calls and inline function calls
Diffstat (limited to 'src/main.zig')
| -rw-r--r-- | src/main.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.zig b/src/main.zig index 519671bccf..155dcc74de 100644 --- a/src/main.zig +++ b/src/main.zig @@ -1818,7 +1818,7 @@ fn buildOutputType( }; updateModule(gpa, comp, zir_out_path, hook) catch |err| switch (err) { - error.SemanticAnalyzeFail => process.exit(1), + error.SemanticAnalyzeFail => if (!watch) process.exit(1), else => |e| return e, }; try comp.makeBinFileExecutable(); |
