allow multiple arguments to shift-captured continuation

svn: r15472
This commit is contained in:
Matthew Flatt 2009-07-17 11:09:07 +00:00
parent 0cccedabb4
commit 84f56f8af6

View File

@ -139,10 +139,10 @@
(abort-cc (abort-cc
tag tag
(lambda () (lambda ()
(f (lambda (val) (f (lambda vals
(call-with-continuation-prompt (call-with-continuation-prompt
(lambda () (lambda ()
(k val)) (apply k vals))
tag tag
inserted-handler)))))) inserted-handler))))))
tag)])]) tag)])])