Convert multiple variable definition warnings to complaints.

* NEWS (2.5): Add a new entry for that change.
* doc/bison.texinfo (Decl Summary): Update %define entry.
(Bison Options): Update -D/--define/-F/--force-define entry.
* src/muscle-tab.c (muscle_percent_define_insert): Implement.
* src/muscle-tab.h (muscle_percent_define_insert): Update
comments.
* tests/input.at (`%define errors'): Update.
(`%define, --define, --force-define'): Update.
(cherry picked from commit e3a33f7c23)
This commit is contained in:
Joel E. Denny
2009-05-23 02:25:28 -04:00
parent de5ab9400a
commit 0b6d43c52f
6 changed files with 62 additions and 35 deletions

2
NEWS
View File

@@ -57,6 +57,8 @@ Bison News
These features are experimental. More user feedback will help to
stabilize them.
** Multiple %define's for any variable is now an error not a warning.
** %define can now be invoked via the command line.
Each of these command-line options