Fix hsx macro

This commit is contained in:
paku 2024-05-27 17:00:58 +09:00
parent 0343f01263
commit a57e572c8e

View file

@ -39,8 +39,10 @@
;;;; hsx macro to find hsx symbols
(defmacro hsx (form)
(find-builtin-symbols form))
(defmacro hsx (&body form)
(when (not (= (length form) 1))
(error "The body of the hsx macro must be a single form."))
(find-builtin-symbols (car form)))
(defun find-builtin-symbols (tree)
(if tree