From 82db7cdb69931bfbc547a2e84ee06fdd7293e6e9 Mon Sep 17 00:00:00 2001 From: "Joel E. Denny" Date: Thu, 3 Sep 2009 14:27:16 -0400 Subject: [PATCH] Don't suppress warnings about unused parse.error. * data/bison.m4 (b4_error_verbose_flag): Don't examine value of %define variable parse.error unless b4_error_verbose_flag is actually expanded in a skeleton. --- ChangeLog | 7 +++++++ data/bison.m4 | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index d4cdc6d2..754063df 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-09-03 Joel E. Denny + + Don't suppress warnings about unused parse.error. + * data/bison.m4 (b4_error_verbose_flag): Don't examine value of + %define variable parse.error unless b4_error_verbose_flag is + actually expanded in a skeleton. + 2009-09-03 Akim Demaille * NEWS (2.4.2): Add "Internationalization" item. diff --git a/data/bison.m4 b/data/bison.m4 index 09287214..4a368024 100644 --- a/data/bison.m4 +++ b/data/bison.m4 @@ -794,9 +794,9 @@ b4_percent_define_default([[parse.error]], [[simple]]) b4_percent_define_check_values([[[[parse.error]], [[simple]], [[verbose]]]]) m4_define([b4_error_verbose_flag], - m4_case(b4_percent_define_get([[parse.error]]), - [simple], [[0]], - [verbose], [[1]])) + [m4_case(b4_percent_define_get([[parse.error]]), + [simple], [[0]], + [verbose], [[1]])]) b4_define_flag_if([error_verbose]) -- 2.45.2