Try to unbreak some MSVC builds following forward slash change.

Michael Paquier.
This commit is contained in:
Andrew Dunstan 2015-04-25 21:28:02 -04:00
parent 764ce22af3
commit 04f1542d39

View File

@ -71,7 +71,7 @@ EOF
foreach my $fileNameWithPath (sort keys %{ $self->{files} })
{
confess "Bad format filename '$fileNameWithPath'\n"
unless ($fileNameWithPath =~ /^(.*)\\([^\\]+)\.(c|cpp|y|l|rc)$/);
unless ($fileNameWithPath =~ m!^(.*)/([^/]+)\.(c|cpp|y|l|rc)$!);
my $dir = $1;
my $file = $2;