X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/f24695eff98c1d8c19b6d9fe8482cc2eca07e6b2..ea99d6e6a02a06bd63e788393fd42cde5cb1fa71:/src/complain.h diff --git a/src/complain.h b/src/complain.h index 0d81503d..62dd8fad 100644 --- a/src/complain.h +++ b/src/complain.h @@ -128,14 +128,14 @@ void deprecated_directive (location const *loc, 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. */ +/** 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. */ typedef enum { - status_none, - status_warning_as_error, - status_complaint + status_none, /**< No diagnostic issued so far. */ + status_warning_as_error, /**< A warning was issued (but no error). */ + status_complaint /**< An error was issued. */ } err_status; /** Whether an error was reported. */