Cpp Parser & multibyte chars (bug 274430)

Milian Wolff mail at milianw.de
Fri Nov 18 17:28:07 UTC 2011


On Friday 18 November 2011 17:55:18 Milian Wolff wrote:
> Hey all
> 
> I've spent some time today and investigated bug 274430 [1], which shows that
> our C++ parser breaks on C-Strings containing wide chars.
> 
> Andreas tried to convince me in IRC that this is "broken code", since
> anything besides ASCII in C++ code is undefined.

PovAddict pointed out that we also get confused by multibyte chars in 
comments, which of course is just as bad!

I've added a unit test for that now - still left to see how we are supposed to 
fix this...

bye
-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20111118/152a57d8/attachment.sig>


More information about the KDevelop-devel mailing list