Kept syntax-parse expr/c error message consistent with define/contract.
svn: r17750
This commit is contained in:
parent
934c775c25
commit
ad7976079f
|
@ -109,12 +109,13 @@
|
|||
(define-syntax-class (expr/c ctc)
|
||||
#:attributes (c)
|
||||
(pattern x:expr
|
||||
#:with c #`(contract #,ctc
|
||||
x
|
||||
(quote #,(source-location->string #'x))
|
||||
'<this-macro>
|
||||
#f
|
||||
(quote-srcloc x))))
|
||||
#:with
|
||||
c #`(contract #,ctc
|
||||
x
|
||||
(quote #,(source-location->string #'x "<<unknown>>"))
|
||||
'<this-macro>
|
||||
#f
|
||||
(quote-srcloc x))))
|
||||
|
||||
;; Literal sets
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user