catch a bad syntax
svn: r67
This commit is contained in:
parent
daa18fcba0
commit
48e7d92913
|
@ -571,6 +571,7 @@
|
|||
(defsyntax (make-defclass-form stx)
|
||||
(syntax-case stx ()
|
||||
[(_ class-maker name supers . slots0)
|
||||
(identifier? #'name)
|
||||
(let loop ([slots1 #'slots0] [slots2 '()])
|
||||
(syntax-case slots1 ()
|
||||
[(slot more ...) (not (syntax-keyword? #'slot))
|
||||
|
|
Loading…
Reference in New Issue
Block a user