[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Hi,
I have commited most of my work on the preprocessor. It can be tested
with the parser-test suite by setting the java-property
-Dscanner=CPreprocessor.
At this point it is neither used for the indexer nor the ModelBuilder.
See also https://bugs.eclipse.org/bugs/show_bug.cgi?id=205272
Together with this change I have started the work on the location
resolver, which is related to the preprocessor
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=202459)
I have already deprecated a few public methods. Please review and speak
up if you see a problem in no longer supporting those:
IASTTranslationUnit:
// never fully implemented, you can use ASTNode.getRawSignature()
String getUnpreprocessedSignature(IASTNodeLocation[]);
// the offset needed here is not part of a public API.
IASTNodeLocation[] getLocationInfo(int offset, int length);
IASTMacroExpansion:
// you can use toFileLocation() to get the file location of the
expansion.
// this is a simplified concept, but the existing one does not work
for
// all cases.
IASTNodeLocation[] getExpansionLocations();
Markus.