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
6631f316ab
commit
1b75ab8af0
@ -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…
Reference in New Issue
Block a user