Bug 69106 - reformat incorrect if a keyword is embeded
Summary: reformat incorrect if a keyword is embeded
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Astyle (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
: 107333 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-11-26 23:09 UTC by Brian Kimmel
Modified: 2007-07-02 13:21 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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