summaryrefslogtreecommitdiff
path: root/test/pure_calc.y
diff options
context:
space:
mode:
Diffstat (limited to 'test/pure_calc.y')
-rw-r--r--test/pure_calc.y5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/pure_calc.y b/test/pure_calc.y
index 462f04c..16af107 100644
--- a/test/pure_calc.y
+++ b/test/pure_calc.y
@@ -62,6 +62,11 @@ number: DIGIT
%% /* start of programs */
+#ifdef YYBYACC
+extern int YYLEX_DECL();
+static void YYERROR_DECL();
+#endif
+
int
main (void)
{