]> git.saurik.com Git - bison.git/blobdiff - src/conflicts.c
* src/conflicts.c (count_rr_conflicts): The previous RR conflicts
[bison.git] / src / conflicts.c
index 7a93441f3f9185248e3b7275a5bab518e7a85bc8..6f6ea882d3cba5013a8ca0ab3a8312f2151ea1de 100644 (file)
@@ -276,7 +276,7 @@ count_rr_conflicts (int state)
       int count = 0;
       int j;
       for (j = m; j < n; j++)
-       if (BITISSET (LA (i), j))
+       if (BITISSET (LA (j), i))
          count++;
 
       if (count >= 2)