aboutsummaryrefslogtreecommitdiffstats
path: root/awkgram.y
diff options
context:
space:
mode:
Diffstat (limited to 'awkgram.y')
-rw-r--r--awkgram.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/awkgram.y b/awkgram.y
index e4c9708d..88bd2967 100644
--- a/awkgram.y
+++ b/awkgram.y
@@ -35,6 +35,7 @@
#endif
static void yyerror(const char *m, ...) ATTRIBUTE_PRINTF_1;
+#define YYERROR_IS_DECLARED 1 /* for bison 3.8. sigh. */
static void error_ln(int line, const char *m, ...) ATTRIBUTE_PRINTF_2;
static void lintwarn_ln(int line, const char *m, ...) ATTRIBUTE_PRINTF_2;
static void warning_ln(int line, const char *m, ...) ATTRIBUTE_PRINTF_2;