From 8e7bba1e12c8d5f583c958b9eac0a68c18bf1c9a Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Sat, 17 Mar 2018 08:53:17 -0700 Subject: compiler: replace invalid compound form message. * share/txr/stdlib/compiler.tl (compiler compile): The message will show (car form) followed by a colon, so the wording should refer to that object rather than the entire form. --- share/txr/stdlib/compiler.tl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/txr/stdlib/compiler.tl b/share/txr/stdlib/compiler.tl index e10bf1a7..4efbe26e 100644 --- a/share/txr/stdlib/compiler.tl +++ b/share/txr/stdlib/compiler.tl @@ -145,7 +145,7 @@ (t (compile-error form "special op ~s not handled yet" sym)))) ((bindable sym) me.(comp-call env sym (cdr form))) - (t (compile-error form "invalid compound form"))))))) + (t (compile-error form "invalid operator"))))))) (defmeth compiler comp-atom (me form) (cond -- cgit v1.2.3