forked from qt-creator/qt-creator
[C++] Rewrite of the preprocessor.
This rewrite fixes a couple of issues with the pre-processor. It now supports: - macros in macro bodies - stringification of parameters [cpp.stringize] - the concatenation operator [cpp.concat] - #include MACRO_HERE - defined() inside macro bodies used in pp-conditions. Change-Id: Ifdb78041fb6afadf44f939a4bd66ce2832b8601f Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
This commit is contained in:
@@ -51,9 +51,9 @@ HEADERS += \
|
||||
$$PWD/pp.h \
|
||||
$$PWD/pp-cctype.h \
|
||||
$$PWD/pp-engine.h \
|
||||
$$PWD/pp-macro-expander.h \
|
||||
$$PWD/pp-scanner.h \
|
||||
$$PWD/findcdbbreakpoint.h
|
||||
$$PWD/findcdbbreakpoint.h \
|
||||
$$PWD/PPToken.h
|
||||
|
||||
SOURCES += \
|
||||
$$PWD/SimpleLexer.cpp \
|
||||
@@ -78,8 +78,8 @@ SOURCES += \
|
||||
$$PWD/FastPreprocessor.cpp \
|
||||
$$PWD/Macro.cpp \
|
||||
$$PWD/pp-engine.cpp \
|
||||
$$PWD/pp-macro-expander.cpp \
|
||||
$$PWD/pp-scanner.cpp \
|
||||
$$PWD/findcdbbreakpoint.cpp
|
||||
$$PWD/findcdbbreakpoint.cpp \
|
||||
$$PWD/PPToken.cpp
|
||||
|
||||
RESOURCES += $$PWD/cplusplus.qrc
|
||||
|
||||
Reference in New Issue
Block a user