mocheck: Don't flag mismatches when tokens are of the same type