mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-28 05:33:03 +00:00
(nonterminals_reduce): Use warn_at rather than rolling our own.
This commit is contained in:
@@ -297,9 +297,7 @@ nonterminals_reduce (void)
|
||||
if (!bitset_test (V, i))
|
||||
{
|
||||
nontermmap[i] = n++;
|
||||
LOCATION_PRINT (stderr, symbols[i]->location);
|
||||
fprintf (stderr, ": %s: %s: %s\n",
|
||||
_("warning"), _("useless nonterminal"),
|
||||
warn_at (symbols[i]->location, _("useless nonterminal: %s"),
|
||||
symbols[i]->tag);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user