mirror of
https://github.com/ziglang/zig.git
synced 2026-11-22 04:37:39 -05:00
fix error messages
This commit is contained in:
1 parent
99cb6e955a
commit
bf52a74803
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -5021,7 +5021,7 @@ void codegen_parsec(CodeGen *g, Buf *full_path) {
|
||||
ZigList<ErrorMsg *> errors = {0};
|
||||
int err = parse_h_file(import, &errors, buf_ptr(full_path), g, nullptr);
|
||||
if (err) {
|
||||
fprintf(stderr, "unable to parse .h file: %s\n", err_str(err));
|
||||
fprintf(stderr, "unable to parse C file: %s\n", err_str(err));
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user