handler of a prompt is in tail context
authorAndy Wingo <wingo@pobox.com>
Fri, 11 Jun 2010 15:16:12 +0000 (17:16 +0200)
committerAndy Wingo <wingo@pobox.com>
Fri, 11 Jun 2010 15:16:12 +0000 (17:16 +0200)
* module/language/tree-il/analyze.scm (analyze-lexicals): The handler of
  a prompt is in tail context.

module/language/tree-il/analyze.scm

index 0bf6b9c..f5ddd32 100644 (file)
        (lset-union eq? (step fluid) (step exp)))
       
       ((<prompt> tag body handler)
-       (lset-union eq? (step tag) (step body) (step handler)))
+       (lset-union eq? (step tag) (step body) (step-tail handler)))
       
       ((<abort> tag args tail)
        (apply lset-union eq? (step tag) (step tail) (map step args)))