mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-29 09:24:33 +00:00
Replace gb_exit(1) with exit_with_errors() where appropriate
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user