("@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:
Paul Eggert
2002-12-26 05:59:06 +00:00
parent 7ea9026a59
commit 88015bf06b

View File

@@ -60,6 +60,7 @@ int skel_lex (void);
XFREE (outname);
outname = xstrdup (filename);
xfclose (yyout);
yyout = xfopen (outname, "w");
lineno = 1;
}