Commit 37f343b4 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

widl: Use noyywrap lexer option.

parent 1ec6ea52
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
%option stack %option stack
%option noinput nounput noyy_top_state %option noinput nounput noyy_top_state
%option noyywrap
%option 8bit never-interactive prefix="parser_" %option 8bit never-interactive prefix="parser_"
nl \r?\n nl \r?\n
...@@ -232,13 +233,6 @@ SAFEARRAY{ws}*/\( return tSAFEARRAY; ...@@ -232,13 +233,6 @@ SAFEARRAY{ws}*/\( return tSAFEARRAY;
} }
%% %%
#ifndef parser_wrap
int parser_wrap(void)
{
return 1;
}
#endif
struct keyword { struct keyword {
const char *kw; const char *kw;
int token; int token;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment