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:
parent
6f9afc351b
commit
6a56a38f01
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user