X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/0e41b407b93a89894b655e47a148c03d273cfd87..2b25d624f6e8290635dc42f1e5df4dd365f783d2:/src/complain.c diff --git a/src/complain.c b/src/complain.c index 44dd3933..fd14d946 100644 --- a/src/complain.c +++ b/src/complain.c @@ -41,6 +41,9 @@ void exit (); #endif +/* To get error_one_per_line. */ +#include "error.h" + #include "complain.h" #ifndef HAVE_DECL_STRERROR_R @@ -106,9 +109,6 @@ unsigned int warn_message_count; /* This variable is incremented each time `complain' is called. */ unsigned int complain_message_count; -/* Sometimes we want to have at most one error per line. This - variable controls whether this mode is selected or not. */ -int error_one_per_line; /*--------------------------------. | Report a warning, and proceed. |