Browse Source

fix errors not being printed after parse warnings

Fixes #4299
Laytan Laats 10 months ago
parent
commit
642ecc363b
1 changed files with 0 additions and 4 deletions
  1. 0 4
      src/main.cpp

+ 0 - 4
src/main.cpp

@@ -3366,10 +3366,6 @@ int main(int arg_count, char const **arg_ptr) {
 		print_all_errors();
 		print_all_errors();
 		return 1;
 		return 1;
 	}
 	}
-	if (any_warnings()) {
-		print_all_errors();
-	}
-
 
 
 	checker->parser = parser;
 	checker->parser = parser;
 	init_checker(checker);
 	init_checker(checker);