/[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.57 by akim, Sun Apr 7 17:44:24 2002 UTC revision 1.58 by akim, Mon Apr 8 11:45:29 2002 UTC
# Line 487  reduce_grammar (void) Line 487  reduce_grammar (void)
487      fatal (_("Start symbol %s does not derive any sentence"),      fatal (_("Start symbol %s does not derive any sentence"),
488             quotearg_style (escape_quoting_style, symbols[start_symbol]->tag));             quotearg_style (escape_quoting_style, symbols[start_symbol]->tag));
489    
490    if (nuseless_productions > 0)    /* First reduce the nonterminals, as they renumber themselves in the
491      reduce_grammar_tables ();       whole grammar.  If you change the order, nonterms would be
492         renumbered only in the reduced grammar.  */
493    if (nuseless_nonterminals > 0)    if (nuseless_nonterminals > 0)
494      nonterminals_reduce ();      nonterminals_reduce ();
495      if (nuseless_productions > 0)
496        reduce_grammar_tables ();
497    
498    if (trace_flag)    if (trace_flag)
499      {      {

Legend:
Removed from v.1.57  
changed lines
  Added in v.1.58

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