summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/msvc2tasks.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/msvc2tasks.pl b/scripts/msvc2tasks.pl
index b6266dd526..6e5d476f99 100644
--- a/scripts/msvc2tasks.pl
+++ b/scripts/msvc2tasks.pl
@@ -16,7 +16,7 @@ while (my $line = <STDIN> ) {
chomp($line);
# --- extract file name based matching:
# c:\foo.cpp(395) : warning C4800: 'BOOL' : forcing value to bool 'true' or 'false' (performance warning)
- if ($line =~ /^([^(]+)\((\d+)\) : warning (C\d+:.*)$/) {
+ if ($line =~ /^([^(]+)\((\d+)\) ?: warning (C\d+:.*)$/) {
my $fileName = $1;
my $lineNumber = $2;
my $text = $3;