]> git.saurik.com Git - bison.git/commitdiff
* src/complain.h, src/complain.c: Remove error_one_per_line, rely
authorAkim Demaille <akim@epita.fr>
Wed, 12 Dec 2001 15:22:46 +0000 (15:22 +0000)
committerAkim Demaille <akim@epita.fr>
Wed, 12 Dec 2001 15:22:46 +0000 (15:22 +0000)
on that of lib/error.c.

ChangeLog
src/complain.c
src/complain.h

index 2513cb676c705448d2ab5b113a88005409208f0d..7b8fd7d3a39bdde508b3f84e7f98d4034c2ed730 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 44dd3933597605734798f10ff1c3790c1829b028..fd14d946b15fb3c74cc8dd50a41f8edb18b8021d 100644 (file)
@@ -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;
 \f
 /*--------------------------------.
 | Report a warning, and proceed.  |
index 29d9f86980bc29080998c2702cf20520a4771c9e..2911a4dcb60d35c3aba2b31662d805980f712141 100644 (file)
@@ -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