summaryrefslogtreecommitdiff
path: root/test/code_error.y
diff options
context:
space:
mode:
Diffstat (limited to 'test/code_error.y')
-rw-r--r--test/code_error.y5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/code_error.y b/test/code_error.y
index e25ff83..3614433 100644
--- a/test/code_error.y
+++ b/test/code_error.y
@@ -4,6 +4,11 @@ S: error
#include <stdio.h>
+#ifdef YYBYACC
+extern int YYLEX_DECL();
+static void YYERROR_DECL();
+#endif
+
int
main(void)
{