small FIX that makes a BIG difference

This commit is contained in:
Geoff McLane 2014-08-05 15:42:43 +02:00
parent d15ffb026b
commit 5a3dbd5383

View file

@ -2100,7 +2100,7 @@ Node* TY_(GetToken)( TidyDocImpl* doc, GetTokenMode mode )
return node;
}
lexer->itoken = TY_(InsertedToken)( doc );
node = lexer->token;
node = lexer->itoken;
#if !defined(NDEBUG) && defined(_MSC_VER)
insert_count++;
SPRTF("%d: Returning inserted node %p, '%s'...\n", insert_count, node,