diff --git a/compiler2/titanver b/compiler2/titanver index 945e02b900d7d6220ab4845bdb365463ce8dcb87..65430083bacb250f897140aab0d7f5772a09df4e 100644 --- a/compiler2/titanver +++ b/compiler2/titanver @@ -69,6 +69,7 @@ my $obj = '?'; sub match_comment() { if (length($comment)) { ($found_ver) = $comment =~ /((GCC|Clang): \([^)]*\) \d\.\d+(?:\.\d+)?)/; + $found_ver =~ s/ \([^)]*\)//; if ($found_ver) { print "$compiler version was $found_ver for $obj\n" if $v;