mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-28 14:08:09 +08:00
gdb/
Code cleanup. * parse.c (exp_iterate): Use operator_length wrapper function.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user