소스 검색

fix errors not being printed after parse warnings

Fixes #4299
Laytan Laats 10 달 전
부모
커밋
642ecc363b
1개의 변경된 파일0개의 추가작업 그리고 4개의 파일을 삭제
  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();
 		return 1;
 	}
-	if (any_warnings()) {
-		print_all_errors();
-	}
-
 
 	checker->parser = parser;
 	init_checker(checker);