Revert "wrc: Use an EOF rule instead of lex_destroy for compatibility with prediluvian flex versions.". This reverts commit 1405c00ecbcf5509c9475759b8230c019070b663. Wine now requires a new enough flex version.
diff --git a/tools/wrc/wrc.c b/tools/wrc/wrc.c index 7dd91fb..3c7b176 100644 --- a/tools/wrc/wrc.c +++ b/tools/wrc/wrc.c
@@ -304,6 +304,7 @@ ret = parser_parse(); fclose(parser_in); + parser_lex_destroy(); if (temp_name) { unlink( temp_name );