From 3ecb9089cc0c1db006f0eaaa86236f9825418b81 Mon Sep 17 00:00:00 2001 From: Ari Johnson Date: Wed, 21 Feb 2007 14:34:48 +0000 Subject: [PATCH] %+ now only records argument counts for ufuns, not for built-in functions --- src/parse.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/parse.c b/src/parse.c index ea20044..399f8a7 100644 --- a/src/parse.c +++ b/src/parse.c @@ -1243,14 +1243,10 @@ process_expression(char *buff, char **bp, char const **str, global_fun_recursions++; pe_info->fun_depth++; if (fp->flags & FN_BUILTIN) { - int old_nfargs; global_fun_invocations++; pe_info->fun_invocations++; - old_nfargs = pe_info->arg_count; - pe_info->arg_count = nfargs; fp->where.fun(fp, buff, bp, nfargs, fargs, arglens, executor, caller, enactor, fp->name, pe_info); - pe_info->arg_count = old_nfargs; if (fp->flags & FN_LOGARGS) { char logstr[BUFFER_LEN]; char *logp; -- 2.30.2