Revert "wrc: Use an EOF rule instead of lex_destroy for compatibility with prediluvian flex versions.".

This reverts commit 1405c00ecb.
Wine now requires a new enough flex version.
This commit is contained in:
Michael Stefaniuc 2009-12-29 18:07:22 +01:00 committed by Alexandre Julliard
parent ce30733337
commit b90a74c724
3 changed files with 2 additions and 1 deletions

View file

@ -34,5 +34,6 @@ extern char *parser_text;
extern int yy_flex_debug;
int parser_lex(void);
int parser_lex_destroy(void);
#endif

View file

@ -588,7 +588,6 @@ L\" {
isprint((unsigned char)*yytext) ? *yytext : '.', *yytext, YY_START);
}
<<EOF>> current_codepage = -1; yyterminate();
%%
/* These dup functions copy the enclosed '\0' from

View file

@ -304,6 +304,7 @@ static int load_file( const char *input_name, const char *output_name )
ret = parser_parse();
fclose(parser_in);
parser_lex_destroy();
if (temp_name)
{
unlink( temp_name );