Bug 303222

Summary: Assertion on c++ import
Product: [Applications] umbrello Reporter: Ralf Habacker <ralf.habacker>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED FIXED    
Severity: major CC: okellogg, ralf.habacker
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: All   
Latest Commit: Version Fixed In: 4.10.0
Sentry Crash Report:

Description Ralf Habacker 2012-07-09 06:59:11 UTC
Importing files containing the following macro raises an assertation

#define xyz(a) #a 

An example containing those macros is /usr/include/QtCore/qobjectdefs.h

Reproducible: Always

Steps to Reproduce:
1. start umbrello
2.import /usr/include/QtCore/qobjectdefs.h

Actual Results:  
umbrello raises assertation in ...umbrello/codeimport/kdevcppparser/lexer.cpp Line 427

Expected Results:  
umbrello should raise an assertation
Comment 1 Ralf Habacker 2012-07-09 07:00:15 UTC
Expected Results: 
umbrello should *NOT* raise an assertation
Comment 2 Ralf Habacker 2012-07-09 10:22:41 UTC
SVN commit 1304802 by habacker:

Fixed assertation parsing #define <name>(<value>) #<value>.


 M  +6 -0      preprocesslexer.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1304802
Comment 3 Ralf Habacker 2013-11-06 17:40:48 UTC
bug has been closed in 4.10.0