Tokenizer::setVarIdNew: Fixed test case TestTokenizer::varid27
This commit is contained in:
parent
807f49ce83
commit
e745d971c8
|
@ -2818,6 +2818,7 @@ static bool setVarIdParseDeclaration(const Token **tok, const std::map<std::stri
|
|||
} else if (!hasstruct && variableId.find(tok2->str()) != variableId.end()) {
|
||||
++typeCount;
|
||||
tok2 = tok2->next();
|
||||
if (tok2->str() != "::")
|
||||
break;
|
||||
} else {
|
||||
++typeCount;
|
||||
|
|
Loading…
Reference in New Issue