In lib/libipsec/policy_token.l, use lex's standard "%option noinput"
instead of hand-defining the YY_NO_INPUT macro. MFC after: 1 week
This commit is contained in:
parent
c5e2b668eb
commit
7a692f29c2
@ -48,13 +48,13 @@
|
|||||||
|
|
||||||
#include "y.tab.h"
|
#include "y.tab.h"
|
||||||
#define yylval __libipsecyylval /* XXX */
|
#define yylval __libipsecyylval /* XXX */
|
||||||
#define YY_NO_INPUT
|
|
||||||
|
|
||||||
int yylex(void);
|
int yylex(void);
|
||||||
%}
|
%}
|
||||||
|
|
||||||
%option noyywrap
|
%option noyywrap
|
||||||
%option nounput
|
%option nounput
|
||||||
|
%option noinput
|
||||||
|
|
||||||
/* common section */
|
/* common section */
|
||||||
nl \n
|
nl \n
|
||||||
|
Loading…
x
Reference in New Issue
Block a user