Merge pull request #4322 from laytan/fix-errors-not-printed-after-parse-warnings

fix errors not being printed after parse warnings
This commit is contained in:
Laytan
2024-09-29 12:51:21 +02:00
committed by GitHub

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);