tests/frameeworks 8/flex: fix undefined functions

Some compilers don't have explicit errors for undefined functions
enabled by default. Apple clang seems to.
pull/7965/head
Dylan Baker 4 years ago
parent 1a494ccfbe
commit 40258cd29e
  1. 3
      test cases/frameworks/8 flex/lexer.l
  2. 5
      test cases/frameworks/8 flex/parser.y

@ -1,6 +1,9 @@
%{
#include <stdlib.h>
#include "parser.tab.h"
extern int yylex(void);
extern int yyerror();
%}
%%

@ -1,3 +1,8 @@
%{
extern int yylex(void);
extern int yyerror();
%}
%token BOOLEAN
%%

Loading…
Cancel
Save