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 Wemm 2013-07-03 18:25:27 +00:00
parent bcafe87486
commit 33e7ec3e83
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=252582
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