Minor changes for \*nix backend

This commit is contained in:
gingerBill
2020-06-10 13:38:17 +01:00
parent 6ea0910213
commit 97d3d4ff6f
2 changed files with 7 additions and 14 deletions
+1 -1
View File
@@ -9121,7 +9121,7 @@ lbValue lb_build_expr(lbProcedure *p, Ast *expr) {
} else if (e != nullptr && e->kind == Entity_Variable) {
return lb_addr_load(p, lb_build_addr(p, expr));
}
gb_printf_err("Error in: %.*s(%td:%td) %s\n", LIT(p->name), i->token.pos.line, i->token.pos.column);
gb_printf_err("Error in: %.*s(%td:%td)\n", LIT(p->name), i->token.pos.line, i->token.pos.column);
String pkg = {};
if (e->pkg) {
pkg = e->pkg->name;