Bug 69106

Summary: reformat incorrect if a keyword is embeded
Product: [Applications] kdevelop Reporter: Brian Kimmel <briank>
Component: AstyleAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: normal CC: rototor
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Brian Kimmel 2003-11-26 23:09:47 UTC
Version:            (using KDE KDE 3.1.4)
Installed from:    Compiled From Sources
OS:          Linux

discovered with function name being returnDeletePointer.
Permanent indent of an extra 15-20 characters from this point on in the
file.  The effect is cumulative - further indentation if another similar
function name is encountered.
Comment 1 Matt Rogers 2006-10-15 07:03:51 UTC
*** Bug 107333 has been marked as a duplicate of this bug. ***
Comment 2 Matt Rogers 2006-10-15 07:04:51 UTC
Another test case:

class TestClass 
{ 
         void method1()
         {} 
         void method2() 
         {} 
         void returnMethod3() 
         {} 
         void returnMethod4() 
         {} 
};

Comment 3 Megan Webb 2007-07-02 13:21:32 UTC
SVN commit 682308 by webb:

Update to Astyle 1.21
Fixes:
BUG: 138699
BUG: 69106




 M  +233 -89   ASBeautifier.cpp  
 M  +44 -45    ASEnhancer.cpp  
 M  +855 -423  ASFormatter.cpp  
 M  +55 -40    ASResource.cpp  
 M  +94 -45    astyle.h