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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228555
@ -48,13 +48,13 @@
|
||||
|
||||
#include "y.tab.h"
|
||||
#define yylval __libipsecyylval /* XXX */
|
||||
#define YY_NO_INPUT
|
||||
|
||||
int yylex(void);
|
||||
%}
|
||||
|
||||
%option noyywrap
|
||||
%option nounput
|
||||
%option noinput
|
||||
|
||||
/* common section */
|
||||
nl \n
|
||||
|
Loading…
Reference in New Issue
Block a user