X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/42d101da8dff74111b409fb92bd2b0853067d857..05e25f2384b96708ffaaf01e77f432736bd99d83:/src/complain.h?ds=sidebyside diff --git a/src/complain.h b/src/complain.h index a4331848..4239bf6d 100644 --- a/src/complain.h +++ b/src/complain.h @@ -123,6 +123,10 @@ void complain_indent (location const *loc, warnings flags, unsigned *indent, void deprecated_directive (location const *loc, char const *obsolete, char const *updated); +/** Report a repeated directive for a rule. */ +void duplicate_directive (char const *directive, + location first, location second); + /** Warnings treated as errors shouldn't stop the execution as regular errors should (because due to their nature, it is safe to go on). Thus, there are three possible execution statuses. */