From 8a48e43fd90d3b0b3c55a5117c806e4acb4d9e16 Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Mon, 12 Feb 2018 17:02:44 +0000 Subject: [PATCH] In test cases/frameworks/8 flex, ensure yyparse() is prototyped Old versions of bison (including the one shipped with macOS) do not prototype yyparse(), just in case you are using a K&R compiler... --- test cases/frameworks/8 flex/prog.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test cases/frameworks/8 flex/prog.c b/test cases/frameworks/8 flex/prog.c index 1e48f611c..0b84d1823 100644 --- a/test cases/frameworks/8 flex/prog.c +++ b/test cases/frameworks/8 flex/prog.c @@ -6,6 +6,8 @@ #include #include +extern int yyparse(); + int main(int argc, char **argv) { /* int input;