support #:do and #:fail-when syntax-parse options
This commit is contained in:
parent
ebecdb663c
commit
eacf9d50d0
|
@ -256,6 +256,12 @@
|
|||
[pattern (~seq #:with pat*:expr expr:expr)
|
||||
#:with pat
|
||||
#'(~post (~parse pat* expr))]
|
||||
[pattern (~seq #:do [stuff ...])
|
||||
#:with pat
|
||||
#'(~do stuff ...)]
|
||||
[pattern (~seq #:fail-when condition:expr message:expr)
|
||||
#:with pat
|
||||
#'(~post (~fail #:when condition message))]
|
||||
[pattern (~seq #:fail-unless condition:expr message:expr)
|
||||
#:with pat
|
||||
#'(~post (~fail #:unless condition message))]
|
||||
|
|
Loading…
Reference in New Issue
Block a user