summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-09-23 06:46:29 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-09-23 06:46:29 -0700
commitb12a4384cee002a9c9d82e34de1838bfe7d80429 (patch)
tree4e7e63790f05884b7a35d91a5d4bc206fb54e988
parent83f7efdc4127c9807bdc46708ef5036d5fdafc51 (diff)
downloadtxr-b12a4384cee002a9c9d82e34de1838bfe7d80429.tar.gz
txr-b12a4384cee002a9c9d82e34de1838bfe7d80429.tar.bz2
txr-b12a4384cee002a9c9d82e34de1838bfe7d80429.zip
eval: error message change.
* eval.c (do_eval): The no such function or operator message is replaced with one which makes it clear that this means that the first element of the form doesn't name an operator or function.
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index c7578c01..cfc1f32c 100644
--- a/eval.c
+++ b/eval.c
@@ -1164,7 +1164,7 @@ static val do_eval(val form, val env, val ctx,
val fbinding = lookup_fun(env, oper);
if (!fbinding) {
last_form_evaled = form;
- eval_error(form, lit("no such function or operator: ~s"), oper, nao);
+ eval_error(form, lit("~s does not name a function or operator"), oper, nao);
abort();
} else {
val arglist = rest(form);