mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 15:07:57 +00:00
widl: Use noyywrap lexer option.
This commit is contained in:
parent
1ec6ea528e
commit
37f343b4a9
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue