mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
* src/complain.h, src/complain.c: Remove error_one_per_line, rely
on that of lib/error.c.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2001-12-12 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* src/complain.h, src/complain.c: Remove error_one_per_line, rely
|
||||
on that of lib/error.c.
|
||||
|
||||
2001-12-12 Akim Demaille <akim@epita.fr>
|
||||
|
||||
Some hosts don't like `/' in includes.
|
||||
|
||||
@@ -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. |
|
||||
|
||||
@@ -56,10 +56,6 @@ extern unsigned int warn_message_count;
|
||||
/* This variable is incremented each time `complain' is called. */
|
||||
extern 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. */
|
||||
extern int error_one_per_line;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user