Bug 303137 - umbrello fails to parse escape sequences in c++ preprocessor statements
Summary: umbrello fails to parse escape sequences in c++ preprocessor statements
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources All
: NOR major
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
: 302539 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-07-07 09:02 UTC by Ralf Habacker
Modified: 2014-01-21 21:57 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.10.0


Attachments

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