X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/bf0e44e87c31bbab569c76e94ced6f4230e69f1f..c39014ae2b8cfb2b38690633633b62800b270a17:/src/complain.h
diff --git a/src/complain.h b/src/complain.h
index f6281756..3d867f5e 100644
--- a/src/complain.h
+++ b/src/complain.h
@@ -25,7 +25,8 @@
extern "C" {
# endif
-/** Informative messages, but we proceed. */
+/** Informative messages, but we proceed. Report iff
+ warnings_flag & warnings_other. */
void warn (char const *format, ...)
__attribute__ ((__format__ (__printf__, 1, 2)));
@@ -61,6 +62,11 @@ void complain_at_indent (location loc, unsigned *indent,
void yacc_at (location loc, char const *format, ...)
__attribute__ ((__format__ (__printf__, 2, 3)));
+/** A midrule-value warning. Report iff
+ warnings_flag & warnings_midrule_values. */
+
+void midrule_value_at (location loc, char const *format, ...)
+ __attribute__ ((__format__ (__printf__, 2, 3)));
/** A fatal error, causing immediate exit. */