mirror of
https://github.com/janet-lang/janet
synced 2024-11-24 17:27:18 +00:00
Be less eager to set macro-form in macex1.
This commit is contained in:
parent
9e5f203302
commit
92f0e1719b
@ -1633,8 +1633,6 @@
|
||||
See macex docs for info on on-binding."
|
||||
[x &opt on-binding]
|
||||
|
||||
(setdyn :macro-form x)
|
||||
|
||||
(when on-binding
|
||||
(when (symbol? x)
|
||||
(break (on-binding x))))
|
||||
@ -1714,7 +1712,7 @@
|
||||
(def m? (entry :macro))
|
||||
(cond
|
||||
s (s t)
|
||||
m? (m ;(tuple/slice t 1))
|
||||
m? (do (setdyn :macro-form t) (m ;(tuple/slice t 1)))
|
||||
(tuple/slice (map recur t))))
|
||||
|
||||
(def ret
|
||||
|
Loading…
Reference in New Issue
Block a user