]> git.saurik.com Git - bison.git/blobdiff - src/lalr.c
* src/LR0.c: Attach shifts to states as soon as they are
[bison.git] / src / lalr.c
index c7807f5e97fbad81518231129f6f906856705e4b..2a5156ac19c38a134b746ada12cabb4e8de7db56 100644 (file)
@@ -153,7 +153,7 @@ set_state_table (void)
   {
     shifts *sp;
     for (sp = first_shift; sp; sp = sp->next)
-      state_table[sp->number]->shifts = sp;
+      assert (state_table[sp->number]->shifts == sp);
   }
 
   /* Pessimization, but simplification of the code: make sure all the