From: Mike Swanson Subject: [PATCH] programs/winhlp32: Use noyywrap for macro.lex.l Message-Id: <20170122190026.8558-1-mikeonthecomputer@gmail.com> Date: Sun, 22 Jan 2017 11:00:26 -0800 flex 2.6.3 broke the previous version, but this is a well-supported way of achieving the same goal, used elsewhere in the Wine source too. --- programs/winhlp32/macro.lex.l | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/programs/winhlp32/macro.lex.l b/programs/winhlp32/macro.lex.l index 8f6945ca98..ff8a4832d3 100644 --- a/programs/winhlp32/macro.lex.l +++ b/programs/winhlp32/macro.lex.l @@ -20,7 +20,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ %} -%option noinput nounput never-interactive 8bit +%option noinput nounput noyywrap never-interactive 8bit %x quote %{ #include "config.h" @@ -367,7 +367,3 @@ WINHELP_WINDOW* MACRO_CurrentWindow(void) { return lex_data ? lex_data->window : Globals.active_win; } - -#ifndef yywrap -int yywrap(void) { return 1; } -#endif -- 2.11.0