Fixed source location for for:.
This commit is contained in:
parent
b18f2353ca
commit
500685c0f2
|
@ -451,7 +451,7 @@ This file defines two sorts of primitives. All of them are provided into any mod
|
||||||
(syntax-parse clauses
|
(syntax-parse clauses
|
||||||
[(head:for-clause next:for-clause ... #:when rest ...)
|
[(head:for-clause next:for-clause ... #:when rest ...)
|
||||||
(syntax-property
|
(syntax-property
|
||||||
(quasisyntax/loc clauses
|
(quasisyntax/loc stx
|
||||||
(for
|
(for
|
||||||
(head.expand next.expand ...)
|
(head.expand next.expand ...)
|
||||||
#,(loop #'(#:when rest ...))))
|
#,(loop #'(#:when rest ...))))
|
||||||
|
@ -459,18 +459,18 @@ This file defines two sorts of primitives. All of them are provided into any mod
|
||||||
#'Void)]
|
#'Void)]
|
||||||
[(head:for-clause ...) ; we reached the end
|
[(head:for-clause ...) ; we reached the end
|
||||||
(syntax-property
|
(syntax-property
|
||||||
(quasisyntax/loc clauses
|
(quasisyntax/loc stx
|
||||||
(for
|
(for
|
||||||
(head.expand ...)
|
(head.expand ...)
|
||||||
#,@body))
|
#,@body))
|
||||||
'type-ascription
|
'type-ascription
|
||||||
#'Void)]
|
#'Void)]
|
||||||
[(#:when guard) ; we end on a #:when clause
|
[(#:when guard) ; we end on a #:when clause
|
||||||
(quasisyntax/loc clauses
|
(quasisyntax/loc stx
|
||||||
(when guard
|
(when guard
|
||||||
#,@body))]
|
#,@body))]
|
||||||
[(#:when guard rest ...)
|
[(#:when guard rest ...)
|
||||||
(quasisyntax/loc clauses
|
(quasisyntax/loc stx
|
||||||
(when guard
|
(when guard
|
||||||
#,(loop #'(rest ...))))])))]))
|
#,(loop #'(rest ...))))])))]))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user