forked from qt-creator/qt-creator
oops! forgot to notify this macro expansion :-)
This commit is contained in:
@@ -613,9 +613,18 @@ void pp::operator()(const QByteArray &source, QByteArray *result)
|
|||||||
} else {
|
} else {
|
||||||
QByteArray tmp;
|
QByteArray tmp;
|
||||||
m->hidden = true;
|
m->hidden = true;
|
||||||
|
|
||||||
|
if (client)
|
||||||
|
client->startExpandingMacro(identifierToken->offset,
|
||||||
|
*m, spell);
|
||||||
|
|
||||||
expand(m->definition.constBegin(),
|
expand(m->definition.constBegin(),
|
||||||
m->definition.constEnd(),
|
m->definition.constEnd(),
|
||||||
&tmp);
|
&tmp);
|
||||||
|
|
||||||
|
if (client)
|
||||||
|
client->stopExpandingMacro(_dot->offset, *m);
|
||||||
|
|
||||||
m->hidden = false;
|
m->hidden = false;
|
||||||
|
|
||||||
m = 0; // reset the active the macro
|
m = 0; // reset the active the macro
|
||||||
|
|||||||
Reference in New Issue
Block a user