SVN commit 903960 by winterz: implement krazy:exclude, krazy:excludeall and krazy:skip directives. BUG: 177480 M +8 -0 style --- trunk/quality/krazy2/extras/c++/style #903959:903960 @@ -110,6 +110,14 @@ &initIssues(); foreach $line (@lines) { chomp($line); + + if ($line =~ m+//.*[Kk]razy:excludeall=.*$Prog+ || + $line =~ m+//.*[Kk]razy:skip+) { + print "okay\n" if (!&quietArg()); + exit 0; + } + next if ($line =~ m+//.*[Kk]razy:exclude=.*$Prog+); + $line =~ s/^\ //; #the comment stripper leaves a leading space $linecnt++;