]> git.saurik.com Git - bison.git/blobdiff - src/complain.h
build: avoid warnings about set-but-not-used variables
[bison.git] / src / complain.h
index 3d867f5ea62618b87f7ad90c94fabf522f16dc32..07d401cbb193385dff37ac428f6bf78f876baf5e 100644 (file)
 extern "C" {
 # endif
 
+/** Record that a warning is about to be issued, and treat it as an
+    error if <tt>warnings_flag & warnings_error</tt>.  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
     <tt>warnings_flag & warnings_other</tt>.  */