fix <prompt> compilation bug
authorAndy Wingo <wingo@pobox.com>
Mon, 22 Feb 2010 19:19:32 +0000 (20:19 +0100)
committerAndy Wingo <wingo@pobox.com>
Mon, 22 Feb 2010 19:19:32 +0000 (20:19 +0100)
* module/language/tree-il/analyze.scm (analyze-lexicals): Fix bug
  analysing <prompt> expressions.

module/language/tree-il/analyze.scm

index c5f6cb9..1e9d899 100644 (file)
        (lset-union eq? (step fluid) (step exp)))
       
       ((<prompt> tag body handler)
-       (lset-union eq? (step tag) (step handler)))
+       (lset-union eq? (step tag) (step body) (step handler)))
       
       ((<abort> tag args)
        (apply lset-union eq? (step tag) (map step args)))