fix errors not being printed after parse warnings

Fixes #4299
This commit is contained in:
Laytan Laats
2024-09-29 11:04:37 +02:00
parent eccb548935
commit 642ecc363b
-4
View File
@@ -3366,10 +3366,6 @@ int main(int arg_count, char const **arg_ptr) {
print_all_errors();
return 1;
}
if (any_warnings()) {
print_all_errors();
}
checker->parser = parser;
init_checker(checker);