forked from qt-creator/qt-creator
Preprocessor: fix expanding macro arguments.
Expanding macro arguments can add or remove argument for a nested macro, so the actual parameters list was not correct. Also, remove unused arguments reference list and reserve space for the expected number of arguments. Change-Id: I4cf369cbb3909927c6bf65750bd715fa6f070fad Reviewed-by: Erik Verbruggen <erik.verbruggen@nokia.com>
This commit is contained in:
committed by
Erik Verbruggen
parent
3e9105e401
commit
558b6e08ae
@@ -98,6 +98,7 @@ public:
|
||||
const char *skip_argument_variadics(const QVector<QByteArray> &actuals,
|
||||
Macro *macro,
|
||||
const char *first, const char *last);
|
||||
void pushActuals(QVector<QByteArray> & actuals, Macro *__macro, const QByteArray& expanded);
|
||||
|
||||
public: // attributes
|
||||
int lines;
|
||||
|
||||
Reference in New Issue
Block a user