fix shared on top-level 'list' binding
svn: r12387
This commit is contained in:
parent
ab1da92ee9
commit
209b252f2c
|
@ -97,14 +97,14 @@
|
|||
[(mcons . _)
|
||||
(bad "mcons")]
|
||||
[(lst e ...)
|
||||
(ormap (lambda (x) (free-identifier=? x #'lst))
|
||||
(ormap (lambda (x) (same-special-id? #'lst x))
|
||||
(syntax->list #'(list list*)))
|
||||
(with-syntax ([(e ...)
|
||||
(map (lambda (x) (cons-elem x))
|
||||
(syntax->list (syntax (e ...))))])
|
||||
(syntax/loc expr (lst e ...)))]
|
||||
[(lst . _)
|
||||
(ormap (lambda (x) (free-identifier=? x #'lst))
|
||||
(ormap (lambda (x) (same-special-id? #'lst x))
|
||||
(syntax->list #'(list list*)))
|
||||
(bad (syntax-e #'lst))]
|
||||
[(append e0 ... e)
|
||||
|
|
Loading…
Reference in New Issue
Block a user