fixed the require bug

svn: r16308
This commit is contained in:
Matthias Felleisen 2009-10-13 17:55:20 +00:00
parent 339860d340
commit c24b05a7b0

View File

@ -39,7 +39,7 @@
(define (clauses-use-kwd stx:list ->rec? legal-clause kwd-in?)
(map (lambda (stx)
(syntax-case stx ()
[(kw . E) (kwd-in? #'kw) (begin (->rec? #'kw) (cons #'kw stx))]
[(kw . E) (kwd-in? #'kw) (begin (->rec? #'kw #'E) (cons #'kw stx))]
[_ (raise-syntax-error #f legal-clause stx)]))
stx:list))