syntax/parse: fixed splicing syntax class bugs
svn: r16690
This commit is contained in:
parent
0080e2b673
commit
a64e9278d1
|
@ -379,7 +379,7 @@
|
|||
(with-enclosing-fail previous-fail
|
||||
k))))))]
|
||||
[#s(hpat:var _attrs name parser (arg ...) (nested-a ...))
|
||||
#`(let ([result (parser x)])
|
||||
#`(let ([result (parser x arg ...)])
|
||||
(if (ok? result)
|
||||
(let* ([rest (car result)]
|
||||
[local-fc (cadr result)]
|
||||
|
|
|
@ -81,7 +81,7 @@
|
|||
(identifier? #'name)
|
||||
(defstxclass stx #'name #'() #'rhss #t)]
|
||||
[(define-splicing-syntax-class (name arg ...) . rhss)
|
||||
(andmap identifier? #'(name arg ...))
|
||||
(andmap identifier? (syntax->list #'(name arg ...)))
|
||||
(defstxclass stx #'name #'(arg ...) #'rhss #t)]))
|
||||
|
||||
(define-syntax (define-conventions stx)
|
||||
|
|
Loading…
Reference in New Issue
Block a user