forked from qt-creator/qt-creator
purify2tasks.pl: Escape backslashes in messages
Purify sometimes has file names in its messages. Change-Id: If0fd8306f124a9f59938092ae2bfa4efaca64f5d Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -53,5 +53,6 @@ while (my $line = <STDIN> ) {
|
|||||||
# match a warning/error report
|
# match a warning/error report
|
||||||
} elsif ($line =~ /^\[[W|E|I]\] /) {
|
} elsif ($line =~ /^\[[W|E|I]\] /) {
|
||||||
$lastMessage = substr($line, 4);
|
$lastMessage = substr($line, 4);
|
||||||
|
$lastMessage =~ s/\\/\\\\/g;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user