Commit b90a74c7 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

Revert "wrc: Use an EOF rule instead of lex_destroy for compatibility with…

Revert "wrc: Use an EOF rule instead of lex_destroy for compatibility with prediluvian flex versions.". This reverts commit 1405c00e. Wine now requires a new enough flex version.
parent ce307333
...@@ -34,5 +34,6 @@ extern char *parser_text; ...@@ -34,5 +34,6 @@ extern char *parser_text;
extern int yy_flex_debug; extern int yy_flex_debug;
int parser_lex(void); int parser_lex(void);
int parser_lex_destroy(void);
#endif #endif
...@@ -588,7 +588,6 @@ L\" { ...@@ -588,7 +588,6 @@ L\" {
isprint((unsigned char)*yytext) ? *yytext : '.', *yytext, YY_START); isprint((unsigned char)*yytext) ? *yytext : '.', *yytext, YY_START);
} }
<<EOF>> current_codepage = -1; yyterminate();
%% %%
/* These dup functions copy the enclosed '\0' from /* These dup functions copy the enclosed '\0' from
......
...@@ -304,6 +304,7 @@ static int load_file( const char *input_name, const char *output_name ) ...@@ -304,6 +304,7 @@ static int load_file( const char *input_name, const char *output_name )
ret = parser_parse(); ret = parser_parse();
fclose(parser_in); fclose(parser_in);
parser_lex_destroy();
if (temp_name) if (temp_name)
{ {
unlink( temp_name ); unlink( temp_name );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment