mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
("@output ".*\n): Close any old yyout before opening a new one.
This fixes Debian bug 156349, reported by Bruce Stephens.
This commit is contained in:
@@ -60,6 +60,7 @@ int skel_lex (void);
|
||||
|
||||
XFREE (outname);
|
||||
outname = xstrdup (filename);
|
||||
xfclose (yyout);
|
||||
yyout = xfopen (outname, "w");
|
||||
lineno = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user