fix syntax patterns on prefabs (PR 10268) (merge to 4.2)
svn: r15001
This commit is contained in:
parent
b181309703
commit
de0fc2e745
|
@ -235,8 +235,8 @@
|
|||
(append m body))
|
||||
body)))))))])))]
|
||||
[(eq? i 'prefab)
|
||||
(and (stx-prefab? (vector-ref i 1) e)
|
||||
(loop (vector-ref i 2) (cdr (vector->list (struct->vector (syntax-e e)))) cap))]
|
||||
(and (stx-prefab? (vector-ref pat 1) e)
|
||||
(loop (vector-ref pat 2) (cdr (vector->list (struct->vector (syntax-e e)))) cap))]
|
||||
[else (error "yikes!" pat)]))]))))
|
||||
|
||||
(-define-syntax syntax-case**
|
||||
|
|
Loading…
Reference in New Issue
Block a user