Tokenizer::setVarIdNew: Fixed test case TestTokenizer::varid27

This commit is contained in:
Daniel Marjamäki 2012-04-22 10:19:29 +02:00
parent 807f49ce83
commit e745d971c8
1 changed files with 2 additions and 1 deletions

View File

@ -2818,7 +2818,8 @@ static bool setVarIdParseDeclaration(const Token **tok, const std::map<std::stri
} else if (!hasstruct && variableId.find(tok2->str()) != variableId.end()) { } else if (!hasstruct && variableId.find(tok2->str()) != variableId.end()) {
++typeCount; ++typeCount;
tok2 = tok2->next(); tok2 = tok2->next();
break; if (tok2->str() != "::")
break;
} else { } else {
++typeCount; ++typeCount;
} }