Refactoring: Use %op%

This commit is contained in:
Daniel Marjamäki 2011-04-09 18:24:41 +02:00
parent 6c4f5fc496
commit 0730fad778
1 changed files with 1 additions and 1 deletions

View File

@ -6891,7 +6891,7 @@ bool Tokenizer::simplifyKnownVariablesSimplify(Token **tok2, Token *tok3, unsign
}
// array usage
if (Token::Match(tok3, ("[(,] " + structname + " %varid% [+-*/[]").c_str(), varid))
if (Token::Match(tok3, ("[(,] " + structname + " %varid% [|%op%").c_str(), varid))
{
if (!structname.empty())
{