Bug 303137

Summary: umbrello fails to parse escape sequences in c++ preprocessor statements
Product: [Applications] umbrello Reporter: Ralf Habacker <ralf.habacker>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED FIXED    
Severity: major CC: ralf.habacker
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: All   
Latest Commit: Version Fixed In: 4.10.0

Description Ralf Habacker 2012-07-07 09:02:19 UTC
Importing a file which uses escape sequences in preprocessor defines or including a file with such defines let umbrello fail to include this file. 


Reproducible: Always

Steps to Reproduce:
1. open umbrello 
2. import a file containing <stdio.h>

Actual Results:  
umbrello freeze

Expected Results:  
umbrello should not freeze

example file 
----------------------------------------------------
#include <stdio.h>

----------------------------------------------------
Comment 1 Ralf Habacker 2012-07-07 09:06:23 UTC
SVN commit 1304412 by habacker:

Fixed c++ import failures by adding escape sequence parser


 M  +3 -3      lexer.cpp  
 M  +10 -2     preprocesslexer.cpp  
 M  +2 -0      preprocesslexer.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1304412
Comment 2 Ralf Habacker 2013-11-06 17:15:55 UTC
apply fixed bug from 4.9.0 changelog
Comment 3 Ralf Habacker 2013-11-06 17:40:52 UTC
bug has been closed in 4.10.0
Comment 4 Ralf Habacker 2014-01-21 21:57:15 UTC
*** Bug 302539 has been marked as a duplicate of this bug. ***