aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2017-09-12 00:07:37 -0400
committerAndrew Kelley <superjoe30@gmail.com>2017-09-12 00:07:37 -0400
commitbf52a748037fad46571a9a76009ea1ca66c9d965 (patch)
tree2ca1a08f3072e88ce32c138b58fe7e2b4a2ef954 /src/codegen.cpp
parent99cb6e955a4a044a19f98abd1d486560ee9c9729 (diff)
downloadzig-bf52a748037fad46571a9a76009ea1ca66c9d965.tar.gz
zig-bf52a748037fad46571a9a76009ea1ca66c9d965.zip
fix error messages
Diffstat (limited to 'src/codegen.cpp')
-rw-r--r--src/codegen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codegen.cpp b/src/codegen.cpp
index 15eac33683..1e8dd76a6f 100644
--- a/src/codegen.cpp
+++ b/src/codegen.cpp
@@ -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);
}