Fixes bug 177638: keyword argument in syntax-rules should not be
used in substitutions
This commit is contained in:
@@ -1 +1 @@
|
||||
1273
|
||||
1275
|
||||
|
||||
@@ -1414,7 +1414,13 @@
|
||||
(bless `(lambda (x)
|
||||
(syntax-case x ,lits
|
||||
,@(map (lambda (pat tmp)
|
||||
`(,pat (syntax ,tmp)))
|
||||
(syntax-match pat ()
|
||||
[(_ . rest)
|
||||
`((g . ,rest) (syntax ,tmp))]
|
||||
[_
|
||||
(syntax-violation #f
|
||||
"invalid syntax-rules pattern"
|
||||
e pat)]))
|
||||
pat* tmp*)))))))))
|
||||
|
||||
(define quasiquote-macro
|
||||
|
||||
Reference in New Issue
Block a user