Simplify hsx macro
This commit is contained in:
parent
813ca38857
commit
d7a2f391f0
1 changed files with 2 additions and 4 deletions
|
@ -3,10 +3,8 @@
|
|||
(:export #:hsx))
|
||||
(in-package #:hsx/hsx)
|
||||
|
||||
(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)))
|
||||
(defmacro hsx (form)
|
||||
(find-builtin-symbols form))
|
||||
|
||||
(defun find-builtin-symbols (node)
|
||||
(if (atom node)
|
||||
|
|
Loading…
Reference in a new issue