activated the Tokenizer::elseif functionality

This commit is contained in:
Daniel Marjamäki 2009-02-17 20:03:08 +00:00
parent 1043b76d31
commit f30d7db1e8
1 changed files with 2 additions and 0 deletions

View File

@ -1077,6 +1077,8 @@ void Tokenizer::simplifyTokenList()
simplifyIfAddBraces();
simplifyFunctionParameters();
elseif();
for (Token *tok = _tokens; tok; tok = tok->next())
{
if (Token::Match(tok, "case %any% : %var%"))