diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-09-23 06:46:29 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-09-23 06:46:29 -0700 |
commit | b12a4384cee002a9c9d82e34de1838bfe7d80429 (patch) | |
tree | 4e7e63790f05884b7a35d91a5d4bc206fb54e988 /eval.c | |
parent | 83f7efdc4127c9807bdc46708ef5036d5fdafc51 (diff) | |
download | txr-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.
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |