gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 18 May 2010 23:05:28 +0000 (23:05 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 18 May 2010 23:05:28 +0000 (23:05 +0000)
Code cleanup.
* parse.c (exp_iterate): Use operator_length wrapper function.

gdb/ChangeLog
gdb/parse.c

index 7081621534ac847ddfc2dad8dec4f90c10492dd5..927a080088c3bf525e23552f34c439f88e482018 100644 (file)
@@ -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.
index cf5189ab4d25bb9bd52869d4e5136745519e8e8f..1c8b3508ec7cd72ca1857d630d92d7ff74808c31 100644 (file)
@@ -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;