summaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-07-03 07:47:18 -0700
committerKaz Kylheku <kaz@kylheku.com>2014-07-03 07:47:18 -0700
commit578a99566965396df51623eb701dc3d76793c3ea (patch)
treed1138e43a4db92dbc8802cfbdbdb413cb434fc29 /eval.c
parent8326cdd3dcfeec2bb6fb3f6747879c3dd19b91bd (diff)
downloadtxr-578a99566965396df51623eb701dc3d76793c3ea.tar.gz
txr-578a99566965396df51623eb701dc3d76793c3ea.tar.bz2
txr-578a99566965396df51623eb701dc3d76793c3ea.zip
* eval.c (apf, ipf): Bugfix: do_apf and do_ipf
should be registered as variadic functions.
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/eval.c b/eval.c
index 0d2a6144..55cda3cf 100644
--- a/eval.c
+++ b/eval.c
@@ -3182,7 +3182,7 @@ static val do_apf(val fun, val args)
static val apf(val fun)
{
- return func_f1(fun, do_apf);
+ return func_f0v(fun, do_apf);
}
static val do_ipf(val fun, val args)
@@ -3192,7 +3192,7 @@ static val do_ipf(val fun, val args)
static val ipf(val fun)
{
- return func_f1(fun, do_ipf);
+ return func_f0v(fun, do_ipf);
}
static val prinl(val obj, val stream)