AST: Fixed Match pattern '|*' => '*|'

This commit is contained in:
Daniel Marjamäki 2017-04-10 23:44:30 +02:00
parent 632a6b664c
commit 4d1a64301c
1 changed files with 1 additions and 1 deletions

View File

@ -488,7 +488,7 @@ static bool iscast(const Token *tok)
if (!Token::Match(tok2, "%name%|*|&|::"))
return false;
if (tok2->isStandardType() && (tok2->next()->str() != "(" || Token::Match(tok2->next(), "( * |* )")))
if (tok2->isStandardType() && (tok2->next()->str() != "(" || Token::Match(tok2->next(), "( * *| )")))
type = true;
}