danmar/cppcheck — comment on commit 612b3c59ca85d5f33f30ab0c4ce2457567962ea8
File:  line 0
By danmar:

good question.. I guess:

void Token::deleteNext(unsigned long index)
{
while (index--) {
Token *n = _next;
_next = n->_next;
delete n;
}

if (_next)
_next->previous(this);
else if (tokensBack)
*tokensBack = this;
}
}