fix splicing 'begin' in R5RS (PR 9548)
svn: r10458
This commit is contained in:
parent
e62bb306fa
commit
ff888bda2a
|
@ -380,7 +380,7 @@
|
||||||
[(begin . rest)
|
[(begin . rest)
|
||||||
(let ([l (syntax->list #'rest)])
|
(let ([l (syntax->list #'rest)])
|
||||||
(if l
|
(if l
|
||||||
(loop (append l exprs) idss rhss stx-idss stx-rhss)
|
(loop (append l (cdr exprs)) idss rhss stx-idss stx-rhss)
|
||||||
(raise-syntax-error #f expr "bad syntax")))]
|
(raise-syntax-error #f expr "bad syntax")))]
|
||||||
[(define-syntaxes (id ...) rhs)
|
[(define-syntaxes (id ...) rhs)
|
||||||
(andmap identifier? (syntax->list #'(id ...)))
|
(andmap identifier? (syntax->list #'(id ...)))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user