danmar/cppcheck — comment on commit 1b4b8fbefef9c8e4a69cc60beda2e4ba84870e45
File:  line 0
By danmar:

I don't understand the idea.

I prefer that we try to keep common code in functions.

Perhaps you think the syntax for Token::eraseTokens is weird. You could add a count parameter to deleteNext if you want. It might be more obvious in some cases.