From: Ari Johnson Date: Wed, 21 Feb 2007 14:34:48 +0000 (+0000) Subject: %+ now only records argument counts for ufuns, not for built-in functions X-Git-Tag: 0.73~129 X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=3ecb9089cc0c1db006f0eaaa86236f9825418b81;p=cobramush.git %+ now only records argument counts for ufuns, not for built-in functions --- 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;