Retain srcloc for match*/early

This commit is contained in:
Asumu Takikawa 2016-04-08 13:01:13 -04:00
parent f9c5a534d0
commit 6621bd5b32

View File

@ -14,7 +14,7 @@
#'((early-return rhs ...))))
(syntax-parse stx
[(_ e [c . r:rhs] ...)
#'(match* e [c . r.r] ...)]))
(syntax/loc stx (match* e [c . r.r] ...))]))
(begin-for-syntax
(define-splicing-syntax-class arg