fix pattern matching with ellipses in certain positions preceeded by only literals and matched against zero occurrences (PR 8824)
svn: r6960
This commit is contained in:
parent
5e0ed3552a
commit
4564282ed5
File diff suppressed because it is too large
Load Diff
|
@ -1010,7 +1010,9 @@
|
|||
" ,(let((s(let((apph(app match-head '(stx-car e)))"
|
||||
"(appt(app match-tail '(stx-cdr e))))"
|
||||
"(if mh-did-var?"
|
||||
"(if mt-did-var?"
|
||||
"(app-append apph appt)"
|
||||
" `(let((mh ,apph))(and mh ,appt mh)))"
|
||||
" `(if ,apph ,appt #f)))))"
|
||||
"(if cap?"
|
||||
"(if id-is-rest?"
|
||||
|
|
|
@ -1190,7 +1190,9 @@
|
|||
,(let ([s (let ([apph (app match-head '(stx-car e))]
|
||||
[appt (app match-tail '(stx-cdr e))])
|
||||
(if mh-did-var?
|
||||
(app-append apph appt)
|
||||
(if mt-did-var?
|
||||
(app-append apph appt)
|
||||
`(let ([mh ,apph]) (and mh ,appt mh)))
|
||||
`(if ,apph ,appt #f)))])
|
||||
(if cap?
|
||||
(if id-is-rest?
|
||||
|
|
Loading…
Reference in New Issue
Block a user