X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/c1f8f16a9b467565fbef7e8c85f0aad8bfad6bde..afbb696d1936dd21929ce156868b7c5ebd88b544:/src/conflicts.c diff --git a/src/conflicts.c b/src/conflicts.c index 73ad45e9..bf5d6435 100644 --- a/src/conflicts.c +++ b/src/conflicts.c @@ -488,9 +488,9 @@ conflicts_print (void) expected_rr_conflicts = -1; } - src_ok = + src_ok = src_total == (expected_sr_conflicts == -1 ? 0 : expected_sr_conflicts); - rrc_ok = + rrc_ok = rrc_total == (expected_rr_conflicts == -1 ? 0 : expected_rr_conflicts); /* If there are as many RR conflicts and SR conflicts as @@ -522,7 +522,7 @@ conflicts_print (void) void conflicts_free (void) { - XFREE (conflicts); + free (conflicts); bitset_free (shift_set); bitset_free (look_ahead_set); obstack_free (&solved_conflicts_obstack, NULL);