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
|
@ -1,3 +1,9 @@
|
|||
2010-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
Sergio Durigan Junior <sergiodj@redhat.com>
|
||||
|
||||
Code cleanup.
|
||||
* parse.c (exp_iterate): Use operator_length wrapper function.
|
||||
|
||||
2010-05-18 Michael Snyder <msnyder@vmware.com>
|
||||
|
||||
* ada-lang.c: White space.
|
||||
|
|
|
@ -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…
Reference in a new issue