summaryrefslogtreecommitdiff
path: root/test/code_calc.y
diff options
context:
space:
mode:
Diffstat (limited to 'test/code_calc.y')
-rw-r--r--test/code_calc.y5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/code_calc.y b/test/code_calc.y
index 9644e07..a9b0b3e 100644
--- a/test/code_calc.y
+++ b/test/code_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)
{