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>
{
// Failing this assertion would mean losing the preallocated buffer.
Q_ASSERT(yyWord.isDetached());
- yyWord.resize(0);
while (isspace(yyCh))
yyCh = getChar();
restart:
// Failing this assertion would mean losing the preallocated buffer.
Q_ASSERT(yyWord.isDetached());
- yyWord.resize(0);
while (yyCh != EOF) {
yyLineNo = yyCurLineNo;