From b12a4384cee002a9c9d82e34de1838bfe7d80429 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Fri, 23 Sep 2016 06:46:29 -0700 Subject: 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. --- eval.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3