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...
pull/3060/head
Jon Turney 7 years ago
parent 6243262b67
commit 8a48e43fd9
  1. 2
      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;

Loading…
Cancel
Save