Fixing ellipsis escapes in syntax-rules templates.

This commit is contained in:
Alex Shinn 2011-03-02 00:33:24 +09:00
parent afc6a96d68
commit 92cae4e8b8

View file

@ -772,9 +772,10 @@
((pair? t)
(cond
((ellipse-escape? t)
(list _quote
(if (pair? (cdr t))
(if (pair? (cddr t)) (cddr t) (cadr t))
(cdr t)))
(cdr t))))
((ellipse? t)
(let* ((depth (ellipse-depth t))
(ell-dim (+ dim depth))