diff --git a/parser/parser_lex.l b/parser/parser_lex.l index 789458190..c9e1bcefc 100644 --- a/parser/parser_lex.l +++ b/parser/parser_lex.l @@ -231,6 +231,7 @@ LT_EQUAL <= } <> { + fclose(yyin); pop_include_stack(); yypop_buffer_state(); if ( !YY_CURRENT_BUFFER ) yyterminate();