authorgravatar for thejoshwolfe@gmail.comJosh Wolfe <thejoshwolfe@gmail.com> 2017-09-11 21:37:37-07:00
committergravatar for thejoshwolfe@gmail.comJosh Wolfe <thejoshwolfe@gmail.com> 2017-09-11 21:37:37-07:00
log32c51e015674af346aae1c3f40fed9ef098a6693
tree08d482eb98ae19afd62c02b8071a514422f8be12
parent4adffea8d03f63650263e5ea984ecd47b0b3a903
parentbf52a748037fad46571a9a76009ea1ca66c9d965

Merge remote-tracking branch 'origin/c-to-zig' into c-to-zig


2 files changed, 2 insertions(+), 2 deletions(-)

src/codegen.cpp+1-1
......@@ -5021,7 +5021,7 @@ void codegen_parsec(CodeGen *g, Buf *full_path) {
50215021 ZigList<ErrorMsg *> errors = {0};
50225022 int err = parse_h_file(import, &errors, buf_ptr(full_path), g, nullptr);
50235023 if (err) {
5024 fprintf(stderr, "unable to parse .h file: %s\n", err_str(err));
5024 fprintf(stderr, "unable to parse C file: %s\n", err_str(err));
50255025 exit(1);
50265026 }
50275027
src/ir.cpp+1-1
......@@ -13421,7 +13421,7 @@ static TypeTableEntry *ir_analyze_instruction_c_import(IrAnalyze *ira, IrInstruc
1342113421
1342213422 int err;
1342313423 if ((err = parse_h_buf(child_import, &errors, &cimport_scope->buf, ira->codegen, node))) {
13424 zig_panic("unable to parse h file: %s\n", err_str(err));
13424 zig_panic("unable to parse C file: %s\n", err_str(err));
1342513425 }
1342613426
1342713427 if (errors.length > 0) {