gdb/
Code cleanup. * parse.c (exp_iterate): Use operator_length wrapper function.
This commit is contained in:
parent
5b4ee69b43
commit
dc21167c9b
2 changed files with 7 additions and 2 deletions
|
@ -1510,8 +1510,7 @@ exp_iterate (struct expression *exp,
|
|||
{
|
||||
int pos, args, oplen = 0;
|
||||
|
||||
exp->language_defn->la_exp_desc->operator_length (exp, endpos,
|
||||
&oplen, &args);
|
||||
operator_length (exp, endpos, &oplen, &args);
|
||||
gdb_assert (oplen > 0);
|
||||
|
||||
pos = endpos - oplen;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue