/[bison]/bison/src/reduce.c
ViewVC logotype

Diff of /bison/src/reduce.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.77 by akim, Tue Nov 12 08:05:59 2002 UTC revision 1.78 by eggert, Sat Dec 7 06:12:48 2002 UTC
# Line 1  Line 1 
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    
# Line 297  nonterminals_reduce (void) Line 297  nonterminals_reduce (void)
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    

Legend:
Removed from v.1.77  
changed lines
  Added in v.1.78

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26