Module: wine Branch: master Commit: 37f343b4a9218e9909bcb9fa2b5207d4ff5c27f3 URL: https://gitlab.winehq.org/wine/wine/-/commit/37f343b4a9218e9909bcb9fa2b5207d...
Author: Rémi Bernon rbernon@codeweavers.com Date: Tue Jan 24 22:19:45 2023 +0100
widl: Use noyywrap lexer option.
---
tools/widl/parser.l | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/tools/widl/parser.l b/tools/widl/parser.l index 8412ca7c64e..71ab2a0981f 100644 --- a/tools/widl/parser.l +++ b/tools/widl/parser.l @@ -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;