diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2015-03-20 10:31:49 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2015-03-20 10:31:49 +0200 |
commit | 59514868fde1190f719e78d4c4b91bd14a321541 (patch) | |
tree | 9ec586a545a2ea215e896aec77d9fcfea8ed04b5 /interpret.h | |
parent | 925f9363c4b0a5bb9375298afcdcf404efb32587 (diff) | |
download | egawk-59514868fde1190f719e78d4c4b91bd14a321541.tar.gz egawk-59514868fde1190f719e78d4c4b91bd14a321541.tar.bz2 egawk-59514868fde1190f719e78d4c4b91bd14a321541.zip |
Start on testing/fixing indirect calls of builtins.
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 b16dc126..9160d479 100644 --- a/interpret.h +++ b/interpret.h @@ -1066,7 +1066,11 @@ match_re: assert(the_func != NULL); /* call it */ - r = the_func(arg_count); + if (the_func == do_sub) + r = call_sub_func(t1->stptr, arg_count); + else + r = the_func(arg_count); + PUSH(r); break; } else if (f->type != Node_func) { |