diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2022-02-07 09:09:30 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2022-02-07 09:09:30 +0200 |
commit | 3aa562fe991728271b0f8d93f774195e8792d2ea (patch) | |
tree | f83915fc55a18f38bc61f9d82bbe86413ee067cf /field.c | |
parent | 313a4000d906aa233ce8b597031f660d6281f690 (diff) | |
download | egawk-3aa562fe991728271b0f8d93f774195e8792d2ea.tar.gz egawk-3aa562fe991728271b0f8d93f774195e8792d2ea.tar.bz2 egawk-3aa562fe991728271b0f8d93f774195e8792d2ea.zip |
Finish fixing indirect call of builtins.
Diffstat (limited to 'field.c')
-rw-r--r-- | field.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -979,6 +979,8 @@ do_split(int nargs) Regexp *, Setfunc, NODE *, NODE *, bool); Regexp *rp = NULL; + check_args_min_max(nargs, "split", 3, 4); + if (nargs == 4) { static bool warned = false; @@ -1081,6 +1083,8 @@ do_patsplit(int nargs) char *s; Regexp *rp = NULL; + check_args_min_max(nargs, "patsplit", 3, 4); + if (nargs == 4) { sep_arr = POP_PARAM(); if (sep_arr->type != Node_var_array) |