diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | interpret.h | 5 |
2 files changed, 6 insertions, 4 deletions
@@ -1,3 +1,8 @@ +2016-05-09 Andrew J. Schorr <aschorr@telemetry-investments.com> + + * interpret.h (r_interpret): Op_ext_builtin. No need to test whether + op == Op_ext_builtin, since we wouldn't be here otherwise. + 2016-05-03 Andrew J. Schorr <aschorr@telemetry-investments.com> * builtin.c (format_tree): Do not waste a byte at the end of a string. diff --git a/interpret.h b/interpret.h index f165ef70..3bb4532e 100644 --- a/interpret.h +++ b/interpret.h @@ -953,10 +953,7 @@ arrayfor: awk_value_t result; PUSH_CODE(pc); - if (op == Op_ext_builtin) - r = awk_value_to_node(pc->extfunc(arg_count, & result)); - else - r = pc->builtin(arg_count); + r = awk_value_to_node(pc->extfunc(arg_count, & result)); (void) POP_CODE(); while (arg_count-- > 0) { t1 = POP(); |