danmar/cppcheck — comment on commit ed6a0e14c4fc8ae5b9ac6d41a24b02b5b55a787b
File:  line 0
By thomasjfox:

Mea culpa, I somehow read Token::simpleMatch(tok->link()) instead of Token::simpleMatch(tok->next()->link()).

Your code is fine of course :)