Make -verbose-errors the default; -terse-errors to disable it

This commit is contained in:
gingerBill
2023-02-22 11:48:10 +00:00
parent f5d507a9b9
commit 090e30f07b
5 changed files with 40 additions and 12 deletions
+1 -3
View File
@@ -578,9 +578,7 @@ gb_internal ExactValue exact_unary_operator_value(TokenKind op, ExactValue v, i3
}
}
failure:
GB_PANIC("Invalid unary operation, %.*s", LIT(token_strings[op]));
failure:;
ExactValue error_value = {};
return error_value;
}