Fix hsx macro
This commit is contained in:
parent
0343f01263
commit
a57e572c8e
1 changed files with 4 additions and 2 deletions
|
@ -39,8 +39,10 @@
|
||||||
|
|
||||||
;;;; hsx macro to find hsx symbols
|
;;;; hsx macro to find hsx symbols
|
||||||
|
|
||||||
(defmacro hsx (form)
|
(defmacro hsx (&body form)
|
||||||
(find-builtin-symbols 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)
|
(defun find-builtin-symbols (tree)
|
||||||
(if tree
|
(if tree
|
||||||
|
|
Loading…
Reference in a new issue