Skip to content

Commit

Permalink
Dumb
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinmera committed Apr 16, 2024
1 parent b599c35 commit 91c764f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions prefab.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@

(defmacro do-nodes% ((node instance id) &body body)
(etypecase id
(string
`(let ((,node (node ,id ,instance)))
,@body))
((member NIL T)
`(let ((,node ,instance))
,@body))
((or string symbol real)
`(let ((,node (node ,id ,instance)))
,@body))
(cons
`(do-scene-graph (,node ,instance)
(when (funcall ,id ,node)
Expand Down
2 changes: 1 addition & 1 deletion toolkit.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@
(etypecase name
(integer name)
(symbol name)
(string (intern (%translate-name name) package))))
(string (intern (%lispify-name name) package))))

(defun enlist (item &rest items)
(if (listp item) item (list* item items)))
Expand Down

0 comments on commit 91c764f

Please sign in to comment.