From 0a8a7f6558737301a1503ef201bfc3830167920f Mon Sep 17 00:00:00 2001
From: Roberto Raggi <qtc-committer@nokia.com>
Date: Thu, 4 Dec 2008 12:41:36 +0100
Subject: [PATCH] oops! forgot to notify this macro expansion :-)

---
 src/plugins/cpptools/rpp/pp-engine.cpp | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/src/plugins/cpptools/rpp/pp-engine.cpp b/src/plugins/cpptools/rpp/pp-engine.cpp
index 2fa6e4ba67f..66e8957f355 100644
--- a/src/plugins/cpptools/rpp/pp-engine.cpp
+++ b/src/plugins/cpptools/rpp/pp-engine.cpp
@@ -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
-- 
GitLab