[Bug 53344] C++ Parser incorrect in #define environments

Harald Fernengel harry at kdevelop.org
Fri Jan 24 15:28:03 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=53344     
harry at kdevelop.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From harry at kdevelop.org  2003-01-24 15:24 -------
grrr... if I ever catch you commit such code into KDE CVS.... 
 
You could at least write it as: 
 #ifdef HUHU  
void hulgo (int a, int b)  
 #else  
void hulgo (int a, int b, int c)  
 #endif  
 
so that it is at least a but more readable when you look at your code again in a few 
weeks. 
 
But I won't argue about coding style now, at least the above should fix the 
class-view. Since KDevelop doesn't contain a pre-processor, it is very difficult to 
support #defines, it might be included in a future version. If you really really think it 
should be there, please file a wishlist item. 
 
As for the ignore-parts: You can enable it in Project -> Options -> Plugins. We have 
so many file-views that we thought we disable that one.




More information about the KDevelop-devel mailing list