Attempt to deal with a compile failure that shows up with gcc, which

has -Werror on.  Without this, yylex() is inconsistently or redundantly
defined.
This commit is contained in:
peter 2013-07-03 18:25:27 +00:00
parent 6631f316ab
commit 1b75ab8af0
2 changed files with 4 additions and 0 deletions

View File

@ -41,6 +41,8 @@
#include "ldef.h"
#include "yacc.h"
#define YY_DECL int yylex(void)
int linenumber = 1;
%}
%option noinput

View File

@ -43,6 +43,8 @@
#include "ldef.h"
#include "yacc.h"
#define YY_DECL int yylex(void)
int linenumber = 1;
%}
%option noinput