Replace gb_exit(1) with exit_with_errors() where appropriate

This commit is contained in:
gingerBill
2024-03-19 16:29:45 +00:00
parent ba428fecdb
commit 433109ff52
6 changed files with 17 additions and 13 deletions

View File

@@ -613,6 +613,10 @@ gb_internal void compiler_error(char const *fmt, ...) {
}
gb_internal void exit_with_errors(void) {
print_all_errors();
gb_exit(1);
}