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