Tokenizer::simplifyTokenList(): call link() for just inserted tokens.
This commit is contained in:
parent
6a5afd6243
commit
282f9104e7
|
@ -1348,6 +1348,8 @@ void Tokenizer::simplifyTokenList()
|
||||||
// Ok, we should be clean. Add ) after tempToken
|
// Ok, we should be clean. Add ) after tempToken
|
||||||
tok->insertToken("(");
|
tok->insertToken("(");
|
||||||
tempToken->insertToken(")");
|
tempToken->insertToken(")");
|
||||||
|
tok->next()->link(tempToken->next());
|
||||||
|
tempToken->next()->link(tok->next());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue