Fix typo in match pattern
This commit is contained in:
parent
f7a7a8a95c
commit
3655ce7222
|
@ -6241,7 +6241,7 @@ bool Tokenizer::simplifyKnownVariables()
|
|||
floatvars.insert(tok2->tokAt(2)->varId());
|
||||
}
|
||||
|
||||
if (Token::Match(tok2, "[;{}] %type% |* %name% [")) {
|
||||
if (Token::Match(tok2, "[;{}] %type% *| %name% [")) {
|
||||
const Token *nameToken = tok2->tokAt(2);
|
||||
if (nameToken->str() == "*")
|
||||
nameToken = nameToken->next();
|
||||
|
|
Loading…
Reference in New Issue