summaryrefslogtreecommitdiff
path: root/tests/push.at
diff options
context:
space:
mode:
authorJoel E. Denny <jdenny@clemson.edu>2009-09-03 16:04:10 -0400
committerJoel E. Denny <jdenny@clemson.edu>2009-09-05 18:44:02 -0400
commit628be6c97d9966201f0522c4ec1a4908df12ace5 (patch)
treede9f0f97ce215ee94f0beb8dc697173d6bd5e995 /tests/push.at
parentc842365a01977bcf69f285116953c54622b19d7c (diff)
downloadbison-628be6c97d9966201f0522c4ec1a4908df12ace5.tar.gz
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 c6abeab182fed54a2068fd75978a97f9c09d9da7) Conflicts: ChangeLog
Diffstat (limited to 'tests/push.at')
-rw-r--r--tests/push.at4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/push.at b/tests/push.at
index 831be0c0..4c548fd9 100644
--- a/tests/push.at
+++ b/tests/push.at
@@ -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