don't reset yyWord right away
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>
Wed, 4 Dec 2013 21:04:08 +0000 (22:04 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 7 Jan 2014 18:49:05 +0000 (19:49 +0100)
commit5357ec65cd4857552b617596794018ce61cfe44c
tree11463114cf846d944ab8ac90860ae3567dccbdc3
parent81ef9e8428382524dd35626cb1087e57768c9f32
don't reset yyWord right away

there is no point in doing that - all tokens that actually "fill" the
word, calculate the size "from scratch" anyway.
not resetting it potentially allows us to use the word after reading
further tokens. though comments between the tokens would mess things up
...

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