X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/fc7ce9970f2972443c1a031c91ffef2dfdf28651..6f8bdce25df5669b0b200c2a3848a1c08a44eb79:/NEWS diff --git a/NEWS b/NEWS index 7584f18e..3d02e031 100644 --- a/NEWS +++ b/NEWS @@ -309,6 +309,24 @@ Bison News bison -Wall,no-yacc gram.y +*** Bison now treats S/R and R/R conflicts like other warnings: + + Previously, conflict reports were independent of Bison's normal + warning system. Now, Bison recognizes the warning categories + "conflicts-sr" and "conflicts-rr". This change has important + consequences for the -W and --warnings command-line options. For + example: + + bison -Wno-conflicts-sr gram.y # S/R conflicts not reported + bison -Wno-conflicts-rr gram.y # R/R conflicts not reported + bison -Wnone gram.y # no conflicts are reported + bison -Werror gram.y # any conflict is an error + + However, as before, if the %expect or %expect-rr directive is + specified, an unexpected number of conflicts is an error, and an + expected number of conflicts is not reported, so -W and --warning + then have no effect on the conflict report. + *** The "none" category no longer disables a preceding "error": For example, for the following command line, Bison now reports