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

Diff of /bison/src/lalr.c

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

revision 1.37 by akim, Mon Dec 10 08:45:22 2001 UTC revision 1.38 by akim, Mon Dec 10 09:06:48 2001 UTC
# Line 156  set_state_table (void) Line 156  set_state_table (void)
156        state_table[sp->number]->shifts = sp;        state_table[sp->number]->shifts = sp;
157    }    }
158    
   {  
     reductions *rp;  
     for (rp = first_reduction; rp; rp = rp->next)  
       state_table[rp->number]->reductions = rp;  
   }  
   
159    /* Pessimization, but simplification of the code: make sure all the    /* Pessimization, but simplification of the code: make sure all the
160       states have a shifts, even if reduced to 0 shifts.  */       states have a shifts, even if reduced to 0 shifts.  */
161    {    {

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.38

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