X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/8ffd7912e3b71fb0cc69e83225c3ad8e3452270f..bcbbf654863dd285b176a0f54a75a28c4bdac1d3:/src/complain.h
diff --git a/src/complain.h b/src/complain.h
index 3d867f5e..b8935645 100644
--- a/src/complain.h
+++ b/src/complain.h
@@ -1,6 +1,6 @@
/* Declaration for error-reporting function for Bison.
- Copyright (C) 2000-2002, 2006, 2009-2011 Free Software Foundation,
+ Copyright (C) 2000-2002, 2006, 2009-2012 Free Software Foundation,
Inc.
This program is free software: you can redistribute it and/or modify
@@ -25,6 +25,13 @@
extern "C" {
# endif
+/** Record that a warning is about to be issued, and treat it as an
+ error if warnings_flag & warnings_error. This is exported
+ only for the sake of Yacc-compatible conflict reports in conflicts.c.
+ All other warnings should be implemented in complain.c and should use
+ the normal warning format. */
+void set_warning_issued (void);
+
/** Informative messages, but we proceed. Report iff
warnings_flag & warnings_other. */