mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-22 02:21:19 +00:00
gdb/
Code cleanup. * parse.c (exp_iterate): Use operator_length wrapper function.
This commit is contained in:
parent
5b4ee69b43
commit
dc21167c9b
@ -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…
x
Reference in New Issue
Block a user