diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2015-03-31 22:07:53 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2015-03-31 22:07:53 +0300 |
commit | a47af3141cf4a6b43e20db872e2b45ff9abb071f (patch) | |
tree | 43421d099953fc8459f847999a02f0f840932a5e /interpret.h | |
parent | 2ee1a928483f4fe4f594aebc5c1f8da1253c28b9 (diff) | |
download | egawk-a47af3141cf4a6b43e20db872e2b45ff9abb071f.tar.gz egawk-a47af3141cf4a6b43e20db872e2b45ff9abb071f.tar.bz2 egawk-a47af3141cf4a6b43e20db872e2b45ff9abb071f.zip |
Get indirect calls working!
Diffstat (limited to 'interpret.h')
-rw-r--r-- | interpret.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/interpret.h b/interpret.h index f9aa3115..6dce863a 100644 --- a/interpret.h +++ b/interpret.h @@ -1067,7 +1067,11 @@ match_re: /* call it */ if (the_func == (builtin_func_t) do_sub) - r = call_sub_func(t1->stptr, arg_count); + r = call_sub(t1->stptr, arg_count); + else if (the_func == do_match) + r = call_match(arg_count); + else if (the_func == do_split || the_func == do_patsplit) + r = call_split_func(t1->stptr, arg_count); else r = the_func(arg_count); |