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));