]> git.saurik.com Git - bison.git/commitdiff
Don't suppress warnings about unused parse.error.
authorJoel E. Denny <jdenny@clemson.edu>
Thu, 3 Sep 2009 18:27:16 +0000 (14:27 -0400)
committerJoel E. Denny <jdenny@clemson.edu>
Thu, 3 Sep 2009 18:27:16 +0000 (14:27 -0400)
* 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
data/bison.m4

index d4cdc6d24083fd58a18284928d43af978eeee58c..754063dfb66153c186b4136a7dccde27a3f8cd7c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-09-03  Joel E. Denny  <jdenny@clemson.edu>
+
+       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  <demaille@gostai.com>
 
        * NEWS (2.4.2): Add "Internationalization" item.
index 09287214f69f3eb0756461eb582c51ca3ee86e33..4a3680241fe95f0ab2f58e34a33196b6bf459730 100644 (file)
@@ -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])