boot/rbx-compiler/parser/fancy_parser.c in fancy-0.7.0 vs boot/rbx-compiler/parser/fancy_parser.c in fancy-0.8.0
- old
+ new
@@ -28,9 +28,10 @@
YY_BUFFER_STATE buffstate = yy_create_buffer(f, YY_BUF_SIZE);
yy_switch_to_buffer(buffstate);
yylineno = NUM2INT(lineno);
yyparse(self);
yy_delete_buffer(buffstate);
+ fclose(f);
return self;
}
void
Init_fancy_parser() {