]> git.saurik.com Git - bison.git/commit - ChangeLog
Disable unset/unused mid-rule value warnings by default, and recognize
authorJoel E. Denny <jdenny@ces.clemson.edu>
Wed, 1 Nov 2006 06:09:40 +0000 (06:09 +0000)
committerJoel E. Denny <jdenny@ces.clemson.edu>
Wed, 1 Nov 2006 06:09:40 +0000 (06:09 +0000)
commit17bd8a736a491f4867176b3885e39e74dc07f854
treeec45adcc785fd90d8d1be81245aa77a547252e26
parent89eb3c76532c0c5f9f3207474c55c300a239fce8
Disable unset/unused mid-rule value warnings by default, and recognize
--warnings=midrule-values to enable them.  Discussed starting at
<http://lists.gnu.org/archive/html/help-bison/2006-10/msg00030.html>.
* NEWS (2.3a+): Mention.
* src/getargs.c, src/getargs.h (warnings_args, warnings_types, enum
warnings): Add entry for midrule-values subargument.
* src/reader.c (symbol_should_be_used): Don't return true just because
the value is a set/used mid-rule value unless
--warnings=midrule-values was specified.
* tests/input.at (Unused values, Unused values before symbol
declarations): Run tests with and without --warnings=midrule-values.

* src/reader.c (check_and_convert_grammar): Use symbol_list_free rather
than LIST_FREE directly.
ChangeLog
NEWS
src/getargs.c
src/getargs.h
src/reader.c
tests/input.at