Moc: Correctly expand macros with arguments
authorLars Knoll <lars.knoll@nokia.com>
Mon, 10 Sep 2012 13:56:33 +0000 (15:56 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 24 Sep 2012 22:08:16 +0000 (00:08 +0200)
commit789f9299079a1ca1795d5e44bca18f72d42d2824
tree3615cd4aeea369e742e62d13f2eec2ade09c48c6
parent99194d1db61b6ad3f5aff3bec1f46a3bcf3f242e
Moc: Correctly expand macros with arguments

Moc now supports full expansion of macros with arguments
with the exception of some keywords such as Q_OBJECT
and others that are used internally

Change-Id: I283d47152f75de81ec68a3df1f0f2273f11c5149
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
src/tools/moc/preprocessor.cpp
src/tools/moc/preprocessor.h