X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/abe1baa04441829bee62dc1e60d1099633abf4e5..e89a22bfab22e4d2ee73be49dcb66b51f8d0e892:/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. |