[PATCH] C++ preprocessor fixes
dmitry.risenberg at gmail.com
Tue Nov 23 23:05:21 UTC 2010
Attached is a patch that fixes C++ preprocessor implementation to work
according to the standard. This fixes
https://bugs.kde.org/show_bug.cgi?id=256433. Also some other macros
from Boost library are now expanded correctly.
An incorrect position in source is reported for a declaration in a
corner-case when the identifier is a result of concatenation by "##"
token - see lines 1782-1791 in test_cppcodecompletion.cpp. Fixing this
case doesn't look possible with current implementation, because the
concatenated string is treated as a whole after all '##" are applied.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 46402 bytes
Desc: not available
More information about the KDevelop-devel