Complain about unused %define variables and %code qualifiers.

* NEWS (2.5): Document.
* data/bison.m4 (b4_check_user_names): Complain instead of warn.
* doc/bison.texinfo (Decl Summary): Document complaint, and
improve %define documentation a little otherwise.
* tests/input.at (Reject unused %code qualifiers): Update.
(%define errors): Update.
(%define, --define, --force-define): Update.
(%define backward compatibility): Update.
(Unused %define api.pure): Update.
* tests/push.at (Push Parsing: Unsupported Skeletons): Update.
(cherry picked from commit c6abeab182)

Conflicts:

	ChangeLog
This commit is contained in:
Joel E. Denny
2009-09-03 16:04:10 -04:00
parent c842365a01
commit 628be6c97d
6 changed files with 82 additions and 60 deletions

View File

@@ -161,8 +161,8 @@ AT_DATA([[input.y]],
start: ;
]])
AT_BISON_CHECK([[input.y]], [0], [],
[[input.y:2.9-21: warning: %define variable `api.push-pull' is not used
AT_BISON_CHECK([[input.y]], [[1]], [],
[[input.y:2.9-21: %define variable `api.push-pull' is not used
]])
AT_CLEANUP