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:
parent
bcafe87486
commit
33e7ec3e83
@ -41,6 +41,8 @@
|
||||
#include "ldef.h"
|
||||
#include "yacc.h"
|
||||
|
||||
#define YY_DECL int yylex(void)
|
||||
|
||||
int linenumber = 1;
|
||||
%}
|
||||
%option noinput
|
||||
|
@ -43,6 +43,8 @@
|
||||
#include "ldef.h"
|
||||
#include "yacc.h"
|
||||
|
||||
#define YY_DECL int yylex(void)
|
||||
|
||||
int linenumber = 1;
|
||||
%}
|
||||
%option noinput
|
||||
|
Loading…
x
Reference in New Issue
Block a user