#include "files.h"
#include "getargs.h"
-warnings warnings_flag = Wconflicts_sr | Wconflicts_rr | Wother;
+warnings warnings_flag =
+ Wconflicts_sr | Wconflicts_rr | Wdeprecated | Wother;
bool complaint_issued;
static unsigned *indent_ptr = 0;
"yacc",
"conflicts-sr",
"conflicts-rr",
+ "deprecated",
"other"
};
fprintf (stderr, "%s: ", prefix);
vfprintf (stderr, message, args);
+ warnings_print_categories (flags);
{
size_t l = strlen (message);
if (l < 2 || message[l-2] != ':' || message[l-1] != ' ')