summaryrefslogtreecommitdiffstats
path: root/lib/cppparser/driver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cppparser/driver.cpp')
-rw-r--r--lib/cppparser/driver.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/cppparser/driver.cpp b/lib/cppparser/driver.cpp
index 52b196e5..b3ace734 100644
--- a/lib/cppparser/driver.cpp
+++ b/lib/cppparser/driver.cpp
@@ -597,6 +597,7 @@ void Driver::setupLexer( Lexer * lexer ) {
lexer->addSkipWord( "KDE_DEPRECATED" );
// qt
+ lexer->addSkipWord( "Q_OBJECT" );
lexer->addSkipWord( "TQ_OBJECT" );
lexer->addSkipWord( "TQ_OVERRIDE", SkipWordAndArguments );
lexer->addSkipWord( "Q_ENUMS", SkipWordAndArguments );