]> git.saurik.com Git - bison.git/commit - src/muscle-tab.c
List accepted values for a %define enum variable with an invalid value.
authorJoel E. Denny <jdenny@ces.clemson.edu>
Fri, 24 Apr 2009 05:42:58 +0000 (01:42 -0400)
committerJoel E. Denny <jdenny@ces.clemson.edu>
Fri, 24 Apr 2009 06:54:10 +0000 (02:54 -0400)
commitf49097730eb04fdb52bc1a625b93df26437bbefb
treebfd1bef7dd40f81b7945f99d547cc61ed0453e49
parent110ef36a1a93c60cc83627492de40cb95aedf9b1
List accepted values for a %define enum variable with an invalid value.

Suggested by Akim Demaille at
<http://lists.gnu.org/archive/html/bison-patches/2009-04/msg00082.html>.
* data/bison.m4 (_b4_percent_define_check_values): Implement.
* src/muscle-tab.c (muscle_percent_define_check_values): Implement.
* tests/input.at (%define lr.default_reductions invalid values): Merge
into...
(%define enum variables): ... here, and update output.
(cherry picked from commit 25029e164a3b2385ae6d95ca4cd19bad36550c92)
ChangeLog
data/bison.m4
src/muscle-tab.c
tests/input.at