don't pretend that the tr functions are language tokens
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>
Tue, 10 Dec 2013 20:57:13 +0000 (21:57 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 7 Jan 2014 18:49:12 +0000 (19:49 +0100)
commitf22850f46b5fdfbe58681e92750addb8d4c3df3f
tree3a89f7b107e41cf2b5c316ef6b59a1960cce184e
parent34158d0902ba6810ec4b0382425e75b07aa4e05d
don't pretend that the tr functions are language tokens

this avoids misparsing in a few contexts where a respective identifier
was not meant to be a tr()/etc. function call (e.g., class/namespace),
and it's more efficient, because we don't try to map every single word
to a function token any more.

Change-Id: I2b424a34a70e427dde9b2d28a9f8517f53852d83
Reviewed-by: hjk <hjk121@nokiamail.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
src/linguist/lupdate/cpp.cpp