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