Unbreak MSVC build broken by my port of flex check.

flex puts lex.backup in the current working directory regardless
of where the input and output are.
This commit is contained in:
Andrew Dunstan 2011-08-26 10:21:43 -04:00
parent 6f9afc351b
commit 6a56a38f01

View File

@ -67,7 +67,7 @@ if ($? == 0)
}
if ($flexflags =~ /\s-b\s/)
{
my $lexback = dirname($input) . "/lex.backup";
my $lexback = "lex.backup";
open($lfile,$lexback) || die "opening $lexback for reading: $!";
my $lexbacklines = <$lfile>;
close($lfile);