Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 6a56a38

Browse files
committed
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.
1 parent 6f9afc3 commit 6a56a38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/msvc/pgflex.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
}
6868
if ($flexflags =~ /\s-b\s/)
6969
{
70-
my $lexback = dirname($input) . "/lex.backup";
70+
my $lexback = "lex.backup";
7171
open($lfile,$lexback) || die "opening $lexback for reading: $!";
7272
my $lexbacklines = <$lfile>;
7373
close($lfile);

0 commit comments

Comments
 (0)