diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2015-04-03 09:17:01 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2015-04-03 09:17:01 +0300 |
commit | 91ac42ccd9bbeee4f17181cd896cc9b7de13b6f7 (patch) | |
tree | 35399cf252627fdbcb0d54d959f9eaf560db7193 /interpret.h | |
parent | 3fad6ad12e1637c4e1b72fbeaf0265f44da0cf27 (diff) | |
parent | ddc290584b39bab2c1edcec935a31ea12d343246 (diff) | |
download | egawk-91ac42ccd9bbeee4f17181cd896cc9b7de13b6f7.tar.gz egawk-91ac42ccd9bbeee4f17181cd896cc9b7de13b6f7.tar.bz2 egawk-91ac42ccd9bbeee4f17181cd896cc9b7de13b6f7.zip |
Merge branch 'master' into wasted-byte
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 cf158ca6..7b9079c0 100644 --- a/interpret.h +++ b/interpret.h @@ -1067,7 +1067,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) { |