]> ruderich.org/simon Gitweb - blhc/blhc.git/blobdiff - bin/blhc
Fix false positive with file names containg "cc".
[blhc/blhc.git] / bin / blhc
index aecc18052b83d5b06526bd492cada20739e07db6..d966f9340248c5331157568f1fe2673f852d99cb 100755 (executable)
--- a/bin/blhc
+++ b/bin/blhc
@@ -242,7 +242,7 @@ while (my $line = <>) {
 
         } else {
             # Ignore lines with no compiler commands.
-            next if $line !~ /\b(cc|gcc|g\+\+|c\+\+)(\s|\\)/;
+            next if $line !~ /\b((?<!\.)cc|gcc|g\+\+|c\+\+)(\s|\\)/;
 
             # Ignore false positives.
             #