diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-05-18 23:05:28 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2010-05-18 23:05:28 +0000 |
commit | dc21167c9b2c7d980fca11d6930049101dc80fd9 (patch) | |
tree | e0a38ff47fced169c5ec68d2539ffb49aef325b3 /gdb/parse.c | |
parent | 5b4ee69b43c13f5d57748af1892794fa4d7ee0c6 (diff) | |
download | gdb-dc21167c9b2c7d980fca11d6930049101dc80fd9.zip gdb-dc21167c9b2c7d980fca11d6930049101dc80fd9.tar.gz gdb-dc21167c9b2c7d980fca11d6930049101dc80fd9.tar.bz2 |
gdb/
Code cleanup.
* parse.c (exp_iterate): Use operator_length wrapper function.
Diffstat (limited to 'gdb/parse.c')
-rw-r--r-- | gdb/parse.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/parse.c b/gdb/parse.c index cf5189a..1c8b350 100644 --- a/gdb/parse.c +++ b/gdb/parse.c @@ -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; |