projects
/
cobramush.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2e2ec6
)
%+ now only records argument counts for ufuns, not for built-in functions
author
Ari Johnson
<ari@cobramush.org>
Wed, 21 Feb 2007 14:34:48 +0000
(14:34 +0000)
committer
Ari Johnson
<ari@cobramush.org>
Wed, 21 Feb 2007 14:34:48 +0000
(14:34 +0000)
src/parse.c
patch
|
blob
|
history
diff --git
a/src/parse.c
b/src/parse.c
index ea2004467019f2cbd3c7b711871a7619f4708d53..399f8a79bb3f53072acc772ec46b09be85159d89 100644
(file)
--- 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;