mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-10 21:03:04 +00:00
Bison is dead wrong in its RR conflict reports.
* tests/torture.at (GNU Cim Grammar): New. * src/conflicts.c (count_rr_conflicts): Fix.
This commit is contained in:
@@ -276,7 +276,7 @@ count_rr_conflicts (int state)
|
||||
int count = 0;
|
||||
int j;
|
||||
for (j = m; j < n; j++)
|
||||
if (BITISSET (LA (m), j))
|
||||
if (BITISSET (LA (i), j))
|
||||
count++;
|
||||
|
||||
if (count >= 2)
|
||||
|
||||
Reference in New Issue
Block a user