]> git.saurik.com Git - bison.git/blobdiff - data/c.m4
* bootstrap (gnulib_modules): Add strverscmp.
[bison.git] / data / c.m4
index d8dc6bc4bc589775db0790b7bb91f21382630a45..03f20ff79616dffc9a35b31155f3cc736d9d5fc8 100644 (file)
--- a/data/c.m4
+++ b/data/c.m4
@@ -138,6 +138,15 @@ m4_define([b4_int_type_for],
 ## ------------------ ##
 
 
+# b4_error_verbose_if(IF-TRUE, IF-FALSE)
+# --------------------------------------
+# Expand IF-TRUE, if errors are verbose, IF-FALSE otherwise.
+m4_define([b4_error_verbose_if],
+[m4_if(b4_error_verbose, [1],
+       [$1],
+       [$2])])
+
+
 # b4_location_if(IF-TRUE, IF-FALSE)
 # ---------------------------------
 # Expand IF-TRUE, if locations are used, IF-FALSE otherwise.