Fixed #2755 (cppcheck goes into infinite loop while scanning OpenSSL sources)

This commit is contained in:
Daniel Marjamäki 2011-04-29 19:47:39 +02:00
parent e30852200e
commit fb32d5111e
1 changed files with 1 additions and 1 deletions

View File

@ -8691,7 +8691,7 @@ void Tokenizer::removeExceptionSpecifications(Token *tok) const
else if (Token::Match(tok, "class|namespace|struct %type%"))
{
while (tok && !Token::Match(tok, "[;{]"))
while (tok && !Token::Match(tok, "[;{=]"))
tok = tok->next();
if (tok && tok->str() == "{")
{