Remove unnecessary test in ast2firm: A for-statement always has a body.
[cparser] / diagnostic.h
index 663e6dc..113481c 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * This file is part of cparser.
- * Copyright (C) 2007-2008 Matthias Braun <matze@braunis.de>
+ * Copyright (C) 2007-2009 Matthias Braun <matze@braunis.de>
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
@@ -51,7 +51,7 @@
  *  %K  const token_t*
  *  %k  token_kind_t
  *  %P  const source_position_t *
- *
+ *  %S  const string_t *
  */
 void diagnosticf(const char *fmt, ...);
 void errorf(const source_position_t *pos, const char *fmt, ...);
@@ -62,7 +62,4 @@ extern unsigned diagnostic_count;
 extern unsigned error_count;
 extern unsigned warning_count;
 
-/* true if warnings should be inhibited */
-extern bool inhibit_all_warnings;
-
 #endif