1 |
/* Grammar reduction for Bison. |
/* Grammar reduction for Bison. |
2 |
Copyright (C) 1988, 1989, 2000, 2001, 2002 Free Software Foundation, Inc. |
Copyright (C) 1988, 1989, 2000, 2001, 2002 Free Software Foundation, Inc. |
3 |
|
|
4 |
This file is part of Bison, the GNU Compiler Compiler. |
This file is part of Bison, the GNU Compiler Compiler. |
5 |
|
|
297 |
if (!bitset_test (V, i)) |
if (!bitset_test (V, i)) |
298 |
{ |
{ |
299 |
nontermmap[i] = n++; |
nontermmap[i] = n++; |
300 |
LOCATION_PRINT (stderr, symbols[i]->location); |
warn_at (symbols[i]->location, _("useless nonterminal: %s"), |
|
fprintf (stderr, ": %s: %s: %s\n", |
|
|
_("warning"), _("useless nonterminal"), |
|
301 |
symbols[i]->tag); |
symbols[i]->tag); |
302 |
} |
} |
303 |
|
|