Tokenizer::setVarIdNew: Fixed TestTokenizer::varid19 test case
This commit is contained in:
parent
42a95c9202
commit
1cc256339c
|
@ -2823,8 +2823,8 @@ static bool setVarIdParseDeclaration(const Token **tok, const std::map<std::stri
|
||||||
++typeCount;
|
++typeCount;
|
||||||
}
|
}
|
||||||
} else if (tok2->str() == "<" && TemplateSimplifier::templateParameters(tok2) > 0) {
|
} else if (tok2->str() == "<" && TemplateSimplifier::templateParameters(tok2) > 0) {
|
||||||
bool bad = tok2->findClosingBracket(tok2);
|
bool ok = tok2->findClosingBracket(tok2);
|
||||||
if (bad || !tok2)
|
if (!ok || !tok2)
|
||||||
break;
|
break;
|
||||||
} else if (tok2->str() == "&") {
|
} else if (tok2->str() == "&") {
|
||||||
ref = true;
|
ref = true;
|
||||||
|
|
Loading…
Reference in New Issue