X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/3e153163c7349c09938376f181ea4d8a1a02cdb5..ed91d427fe80ea2c5991c8862b0145613b9a0650:/src/gram.c diff --git a/src/gram.c b/src/gram.c index 5e14c60c..f58ac3b5 100644 --- a/src/gram.c +++ b/src/gram.c @@ -312,10 +312,10 @@ grammar_rules_useless_report (const char *message) for (r = 0; r < nrules ; ++r) if (!rules[r].useful) { - complain_at (rules[r].location, w, "%s: ", message); + complain (&rules[r].location, w | silent, "%s: ", message); rule_print (&rules[r], stderr); + warnings_print_categories (w); fprintf (stderr, "\n"); - fflush (stderr); } } }