[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    quality/krazy2/extras/c++
From:       Allen Winter <winter () kde ! org>
Date:       2009-01-08 22:33:01
Message-ID: 1231453981.657587.10432.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 907936 by winterz:

fix support for krazy:exclude=style
BUG: 177480


 M  +2 -0      style  


--- trunk/quality/krazy2/extras/c++/style #907935:907936
@@ -606,6 +606,8 @@
 foreach $line (@data_lines) {
   $linecnt++;
   chomp($line);
+  next if ($line =~ m+//.*[Kk]razy:exclude=.*$Prog+);
+
   if ($line =~ m/[[:space:]]$/) {
     $Issues{'TRAILWHITE'}{'count'}++;
     if ($Issues{'TRAILWHITE'}{'count'} == 1) {
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic