Fix make-syntactic-closure
make-syntactic-closure raises an error when it takes identifiers. The following session demonstrates the error. > (define-macro a (sc-macro-transformer (lambda (form use-env) 'foo))) #undefined > (a) error: attempted to set a non-object key '()' in a register
This commit is contained in:
parent
2a279f9d2e
commit
a3c4dd32f8
|
@ -62,7 +62,7 @@
|
|||
((f (lambda (var)
|
||||
(let loop ((free free))
|
||||
(if (null? free)
|
||||
(wrap free)
|
||||
(wrap var)
|
||||
(if (identifier=? var (car free))
|
||||
var
|
||||
(loop (cdr free))))))))
|
||||
|
|
Loading…
Reference in New Issue