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

Diff of /bison/src/LR0.c

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

revision 1.80 by akim, Mon Jul 29 17:31:46 2002 UTC revision 1.81 by akim, Tue Jul 30 11:06:50 2002 UTC
# Line 282  save_reductions (state_t *state) Line 282  save_reductions (state_t *state)
282    int count = 0;    int count = 0;
283    int i;    int i;
284    
   /* If this is the final state, we want it to have no reductions at  
      all, although it has one for `START_SYMBOL $end .'.  */  
   if (final_state && state->number == final_state->number)  
     return;  
   
285    /* Find and count the active items that represent ends of rules. */    /* Find and count the active items that represent ends of rules. */
286    for (i = 0; i < nritemset; ++i)    for (i = 0; i < nritemset; ++i)
287      {      {

Legend:
Removed from v.1.80  
changed lines
  Added in v.1.81

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