aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2018-02-12 17:02:44 +0000
committerJon Turney <jon.turney@dronecode.org.uk>2018-02-21 17:10:05 +0000
commit8a48e43fd90d3b0b3c55a5117c806e4acb4d9e16 (patch)
tree21eafe1de45d620ab7e5769fd9663a6945b45089
parent6243262b67cee8360647aa633d6a66b430174af5 (diff)
downloadmeson-8a48e43fd90d3b0b3c55a5117c806e4acb4d9e16.zip
meson-8a48e43fd90d3b0b3c55a5117c806e4acb4d9e16.tar.gz
meson-8a48e43fd90d3b0b3c55a5117c806e4acb4d9e16.tar.bz2
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...
-rw-r--r--test cases/frameworks/8 flex/prog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test cases/frameworks/8 flex/prog.c b/test cases/frameworks/8 flex/prog.c
index 1e48f61..0b84d18 100644
--- a/test cases/frameworks/8 flex/prog.c
+++ b/test cases/frameworks/8 flex/prog.c
@@ -6,6 +6,8 @@
#include<stdio.h>
#include<stdlib.h>
+extern int yyparse();
+
int main(int argc, char **argv) {
/*
int input;