diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2015-03-31 22:32:44 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2015-03-31 22:32:44 +0300 |
commit | 902b25a40d5cc612dd7a0becb27a5a48afa49716 (patch) | |
tree | b4baae3a4d846d0bd60251c28ebf77dde2189573 /interpret.h | |
parent | 2bdaa6b89e00984d79305ba1066cf98c5674b556 (diff) | |
parent | 9730efeabb2116fdf7e93b4553825ba147f5f523 (diff) | |
download | egawk-902b25a40d5cc612dd7a0becb27a5a48afa49716.tar.gz egawk-902b25a40d5cc612dd7a0becb27a5a48afa49716.tar.bz2 egawk-902b25a40d5cc612dd7a0becb27a5a48afa49716.zip |
Merge branch 'gawk-4.1-stable'
Diffstat (limited to 'interpret.h')
-rw-r--r-- | interpret.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/interpret.h b/interpret.h index dee53957..a11268de 100644 --- a/interpret.h +++ b/interpret.h @@ -1066,7 +1066,15 @@ match_re: assert(the_func != NULL); /* call it */ - r = the_func(arg_count); + if (the_func == (builtin_func_t) do_sub) + 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); + PUSH(r); break; } else if (f->type != Node_func) { |