summaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-03-28 16:41:17 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-03-28 16:41:17 -0700
commit8657699b701aa19e097016146d69492b7e191833 (patch)
tree3036618cbdccff463037ba93b53e58426b789953 /eval.c
parent410fb0ec4fb2a2780f581322b6b99f5a7d77d990 (diff)
downloadtxr-8657699b701aa19e097016146d69492b7e191833.tar.gz
txr-8657699b701aa19e097016146d69492b7e191833.tar.bz2
txr-8657699b701aa19e097016146d69492b7e191833.zip
expander: fun: misleading diagnostic.
* eval.c (do_expand): argument of fun is not in "operator position"; fixed wording.
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 8fb645fc..90ec43af 100644
--- a/eval.c
+++ b/eval.c
@@ -4811,7 +4811,7 @@ again:
lit("fun used on special operator ~s"), arg, nao);
else if (!bindable(arg))
eval_warn(uw_last_form_expanded(),
- lit("~s appears in operator position"), arg, nao);
+ lit("fun expects function, not ~s"), arg, nao);
else
eval_defr_warn(uw_last_form_expanded(),
cons(fun_s, arg),