oops! forgot to notify this macro expansion :-)

This commit is contained in:
Roberto Raggi
2008-12-04 12:41:36 +01:00
parent 3d3802d50f
commit 0a8a7f6558

View File

@@ -613,9 +613,18 @@ void pp::operator()(const QByteArray &source, QByteArray *result)
} else {
QByteArray tmp;
m->hidden = true;
if (client)
client->startExpandingMacro(identifierToken->offset,
*m, spell);
expand(m->definition.constBegin(),
m->definition.constEnd(),
&tmp);
if (client)
client->stopExpandingMacro(_dot->offset, *m);
m->hidden = false;
m = 0; // reset the active the macro