summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorJoel E. Denny <joeldenny@joeldenny.org>2010-08-01 18:51:46 -0400
committerJoel E. Denny <joeldenny@joeldenny.org>2010-08-01 23:25:40 -0400
commit4631c34fb78bebfd3764ebe77d4f4baae757dbf6 (patch)
tree88e82ba1838decd517cc383ac59b5856fec77219 /NEWS
parent3e948170f7f4ee1904a17e0717d4619e51be5cac (diff)
downloadbison-4631c34fb78bebfd3764ebe77d4f4baae757dbf6.tar.gz
-Werror: fix for rules useless in parser after conflicts.
* NEWS (2.4.3): Document fix. * src/complain.c (error_message): Extend to handle incomplete error messages so warn and warn_at can be used in more cases. * src/gram.c (grammar_rules_useless_report): Use warn_at so that -Werror is always obeyed. * src/reduce.c (reduce_print): Use warn so that the "warnings being treated as errors" message is printed consistently before the first warning message. This makes testing easier. * tests/local.at (AT_BISON_WERROR_MSG): New macro. (AT_BISON_CHECK_NO_XML): Extend to check -Werror and --warnings=error when warnings appear in bison's stderr. (cherry picked from commit 954474bfa1a875eeefe9aa1989d9c7be6f64726b)
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index ed19c4ca..61b14b08 100644
--- a/NEWS
+++ b/NEWS
@@ -224,6 +224,9 @@ Bison News
* Changes in version 2.4.3 (????-??-??):
+** Bison now obeys -Werror and --warnings=error for warnings about
+ grammar rules that are useless in the parser due to conflicts.
+
** Problems with spawning M4 on at least FreeBSD 8 and FreeBSD 9 have
been fixed.