changed static syntax class back to perform post-checks
This commit is contained in:
parent
4f41e3f79d
commit
6c42fe2766
|
@ -70,12 +70,12 @@
|
|||
#:attributes (value)
|
||||
#:description name
|
||||
#:commit
|
||||
(pattern (~and x:id
|
||||
(~fail #:unless (syntax-transforming?)
|
||||
"not within the extent of a macro transformer")
|
||||
(~bind [value (syntax-local-value #'x (lambda () notfound))])
|
||||
(~fail #:when (eq? (attribute value) notfound))
|
||||
(~fail #:unless (pred (attribute value))))))
|
||||
(pattern x:id
|
||||
#:fail-unless (syntax-transforming?)
|
||||
"not within the dynamic extent of a macro transformation"
|
||||
#:attr value (syntax-local-value #'x (lambda () notfound))
|
||||
#:fail-when (eq? (attribute value) notfound) #f
|
||||
#:fail-unless (pred (attribute value)) #f))
|
||||
|
||||
#|
|
||||
(define-syntax-class expr
|
||||
|
|
Loading…
Reference in New Issue
Block a user