fix syntax-case bug

svn: r9553
This commit is contained in:
Matthew Flatt 2008-04-30 23:38:24 +00:00
parent 4e2f540f6d
commit efa0f5f396

View File

@ -215,7 +215,7 @@
h))))))))]
[(eq? i 'veclist)
(and (stx-vector? e #f)
(loop (vector-ref i 1) (vector->list (syntax-e e)) cap))]
(loop (vector-ref pat 1) (vector->list (syntax-e e)) cap))]
[(eq? i 'vector)
(and (stx-vector? e (vector-ref pat 1))
(let vloop ([p (vector-ref pat 2)][pos 0])