X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/e4a148796a4af75b8728f5c4ec7d01a0cc654a27..786743d5eb46abd8510d0362f558e5271d080fd7:/NEWS diff --git a/NEWS b/NEWS index eff33c08..d22e246a 100644 --- a/NEWS +++ b/NEWS @@ -368,6 +368,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