fix handling of c'tors with namespaced parent classes
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>
Fri, 26 Jul 2013 17:46:15 +0000 (19:46 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 1 Aug 2013 11:37:37 +0000 (13:37 +0200)
commit51ceecc96159e5d096b1cfa320db5d41c009387f
tree248148a4ec451e970b7077f8d5c18eca7922f2d0
parent00ff569b2e2298a755ce351f70c101f5cfbc4b3b
fix handling of c'tors with namespaced parent classes

this is achieved by setting yyTokColonSeen under much narrower
conditions (when we are pretty sure that we are seeing the start of a
c'tor's initializer list), which allows us to unset it under much
narrower conditions (when we are pretty sure we are seeing the start of
the c'tor's body), so we now actually *do* skip over qualifications
which would confuse us.

Change-Id: Ic04bad57a08cc66d41094775570d25e7288e6324
Reviewed-by: hjk <hjk121@nokiamail.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
src/linguist/lupdate/cpp.cpp
tests/auto/linguist/lupdate/testdata/good/parsecpp/main.cpp
tests/auto/linguist/lupdate/testdata/good/parsecpp/project.ts.result