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)
|
(define-syntax-class (expr/c ctc)
|
||||||
#:attributes (c)
|
#:attributes (c)
|
||||||
(pattern x:expr
|
(pattern x:expr
|
||||||
#:with c #`(contract #,ctc
|
#:with
|
||||||
x
|
c #`(contract #,ctc
|
||||||
(quote #,(source-location->string #'x))
|
x
|
||||||
'<this-macro>
|
(quote #,(source-location->string #'x "<<unknown>>"))
|
||||||
#f
|
'<this-macro>
|
||||||
(quote-srcloc x))))
|
#f
|
||||||
|
(quote-srcloc x))))
|
||||||
|
|
||||||
;; Literal sets
|
;; Literal sets
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user