Remove an unnecessary NULL test, because parse_compound_statement() never returns...
[cparser] / diagnostic.h
index 06f9220..cd75562 100644 (file)
@@ -11,4 +11,13 @@ extern unsigned diagnostic_count;
 extern unsigned error_count;
 extern unsigned warning_count;
 
+/* true if warnings should be inhibited */
+extern bool inhibit_all_warnings;
+
+/* true if warnings should be treated as errors */
+extern bool warnings_are_errors;
+
+/* true if the first error should stop the compilation */
+extern bool fatal_errors;
+
 #endif