widl: Use noyywrap lexer option.

This commit is contained in:
Rémi Bernon 2023-01-24 22:19:45 +01:00 committed by Alexandre Julliard
parent 1ec6ea528e
commit 37f343b4a9

View file

@ -20,6 +20,7 @@
%option stack
%option noinput nounput noyy_top_state
%option noyywrap
%option 8bit never-interactive prefix="parser_"
nl \r?\n
@ -232,13 +233,6 @@ SAFEARRAY{ws}*/\( return tSAFEARRAY;
}
%%
#ifndef parser_wrap
int parser_wrap(void)
{
return 1;
}
#endif
struct keyword {
const char *kw;
int token;