summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-09-10 14:25:18 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-09-10 14:31:25 (GMT)
commitb7ae28f8abcf591d8897c8e47a096aabb2c36a2b (patch)
tree6d0c5d456935ace46b326f868f41deb1b0516faa /tools
parentf7db9a602a83b05ccad6ac33a2ab63acf3367481 (diff)
downloadQt-b7ae28f8abcf591d8897c8e47a096aabb2c36a2b.zip
Qt-b7ae28f8abcf591d8897c8e47a096aabb2c36a2b.tar.gz
Qt-b7ae28f8abcf591d8897c8e47a096aabb2c36a2b.tar.bz2
fetch next token after class definition opening
this makes no real difference, as at this point the token is known to be an opening brace which will be handled without side effects in the next iteration, but this is a tad more efficient and simply cleaner.
Diffstat (limited to 'tools')
-rw-r--r--tools/linguist/lupdate/cpp.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/linguist/lupdate/cpp.cpp b/tools/linguist/lupdate/cpp.cpp
index d701d7f..6ea7299 100644
--- a/tools/linguist/lupdate/cpp.cpp
+++ b/tools/linguist/lupdate/cpp.cpp
@@ -1693,6 +1693,8 @@ void CppParser::parseInternal(ConversionData &cd, QSet<QString> &inclusions)
functionContextUnresolved.clear(); // Pointless
prospectiveContext.clear();
pendingContext.clear();
+
+ yyTok = getToken();
}
break;
case Tok_namespace: