mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-18 08:43:03 +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);
|
XFREE (outname);
|
||||||
outname = xstrdup (filename);
|
outname = xstrdup (filename);
|
||||||
|
xfclose (yyout);
|
||||||
yyout = xfopen (outname, "w");
|
yyout = xfopen (outname, "w");
|
||||||
lineno = 1;
|
lineno = 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user