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

List:       kde-commits
Subject:    quality/krazy2/plugins/c++
From:       Allen Winter <winter () kde ! org>
Date:       2010-06-30 20:55:55
Message-ID: 20100630205555.8C708AC8E2 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1144800 by winterz:

fix prematurely detecting the end of a class when there are nested classes



 M  +2 -2      dpointer  


--- trunk/quality/krazy2/plugins/c++/dpointer #1144799:1144800
@@ -46,7 +46,7 @@
 
 my($debug) = 0;  #set to go into debug mode
 my($Prog) = "dpointer";
-my($Version) = "1.8";
+my($Version) = "1.9";
 
 &parseArgs();
 
@@ -121,7 +121,7 @@
       $line =~ s+//.*++; #strip trailing C++ comment
       &Section($line);
       if (&Cname($line,$lastl)) { $linecnt--; last; }
-      last if (&endClass($line,$linecnt));
+      next if (&endClass($line,$linecnt));
 
       $stuff{$CNAME}{'pureVirt'}++ if (&isPureVirtual($line));
       $stuff{$CNAME}{'qInterfaces'}++ if (&isQInterfaces($line));
[prev in list] [next in list] [prev in thread] [next in thread] 

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