aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.cpp
diff options
context:
space:
mode:
authorJosh Wolfe <thejoshwolfe@gmail.com>2017-09-11 21:37:37 -0700
committerJosh Wolfe <thejoshwolfe@gmail.com>2017-09-11 21:37:37 -0700
commit32c51e015674af346aae1c3f40fed9ef098a6693 (patch)
tree08d482eb98ae19afd62c02b8071a514422f8be12 /src/codegen.cpp
parent4adffea8d03f63650263e5ea984ecd47b0b3a903 (diff)
parentbf52a748037fad46571a9a76009ea1ca66c9d965 (diff)
downloadzig-32c51e015674af346aae1c3f40fed9ef098a6693.tar.gz
zig-32c51e015674af346aae1c3f40fed9ef098a6693.zip
Merge remote-tracking branch 'origin/c-to-zig' into c-to-zig
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);
}