syntax/parse: fix action patterns in splicing stxclass
closes PR 14837
This commit is contained in:
parent
c4684c12e6
commit
26fe66b141
|
@ -839,6 +839,8 @@ Conventions:
|
||||||
#'pattern
|
#'pattern
|
||||||
#'#s(internal-rest-pattern rest-x rest-cx rest-pr))])
|
#'#s(internal-rest-pattern rest-x rest-cx rest-pr))])
|
||||||
#'(parse:S x cx pattern pr es k))]
|
#'(parse:S x cx pattern pr es k))]
|
||||||
|
[#s(hpat:action attrs action subpattern)
|
||||||
|
#'(parse:A x cx action pr es (parse:H x cx rest-x rest-cx rest-pr subpattern pr es k))]
|
||||||
[#s(hpat:optional (a ...) pattern defaults)
|
[#s(hpat:optional (a ...) pattern defaults)
|
||||||
(with-syntax ([(#s(attr id _ _) ...) #'(a ...)])
|
(with-syntax ([(#s(attr id _ _) ...) #'(a ...)])
|
||||||
#`(let ([success
|
#`(let ([success
|
||||||
|
|
Loading…
Reference in New Issue
Block a user