syntax/parse: improve minimatch stx errors
This commit is contained in:
parent
bcc8535b78
commit
8e5ccd3239
|
@ -87,6 +87,8 @@
|
|||
(let ([xps (cdr (vector->list (struct->vector x)))])
|
||||
(match-p xps (list p ...) success failure))
|
||||
failure)))]
|
||||
[(match-p x pattern success failure)
|
||||
(raise-syntax-error 'minimatch "bad pattern" #'pattern)]
|
||||
))
|
||||
|
||||
(define-syntax match-p*
|
||||
|
|
Loading…
Reference in New Issue
Block a user