parent
c27a482a84
commit
456e33fc7b
|
@ -460,14 +460,12 @@ static void compileTerm(Token *& tok, std::stack<Token*> &op)
|
||||||
} else {
|
} else {
|
||||||
Token *name = tok;
|
Token *name = tok;
|
||||||
Token *par = templatefunc ? tok->linkAt(1)->next() : tok->next();
|
Token *par = templatefunc ? tok->linkAt(1)->next() : tok->next();
|
||||||
Token *prev;
|
Token *prev = name;
|
||||||
tok = par->next();
|
tok = par->next();
|
||||||
if (Token::Match(tok, ")|]")) {
|
if (Token::Match(tok, ")|]")) {
|
||||||
prev = name;
|
|
||||||
par->astOperand1(name);
|
par->astOperand1(name);
|
||||||
tok = tok->next();
|
tok = tok->next();
|
||||||
} else {
|
} else {
|
||||||
prev = name;
|
|
||||||
tok = tok->previous();
|
tok = tok->previous();
|
||||||
}
|
}
|
||||||
while (Token::Match(tok, "(|[")) {
|
while (Token::Match(tok, "(|[")) {
|
||||||
|
|
Loading…
Reference in New Issue