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
|
||||
|
||||
(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
|
||||
|
|
Loading…
Reference in a new issue