summaryrefslogtreecommitdiffstats
path: root/eval.c
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
commitbcc745388fdc0ac323a2a2889928df7b09c51bb8 (patch)
tree4e7e63790f05884b7a35d91a5d4bc206fb54e988 /eval.c
parentdd7f5354ac98a96c979e48cf7d494a7defca7e53 (diff)
downloadtxr-bcc745388fdc0ac323a2a2889928df7b09c51bb8.tar.gz
txr-bcc745388fdc0ac323a2a2889928df7b09c51bb8.tar.bz2
txr-bcc745388fdc0ac323a2a2889928df7b09c51bb8.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.
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 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);