tree-il->scheme fix
authorAndy Wingo <wingo@pobox.com>
Sun, 27 Mar 2011 12:44:20 +0000 (14:44 +0200)
committerAndy Wingo <wingo@pobox.com>
Sun, 27 Mar 2011 12:44:20 +0000 (14:44 +0200)
* module/language/tree-il.scm (tree-il->scheme): Fix <prompt> to Scheme
  serialization.

module/language/tree-il.scm

index 5fd4c12..221cf26 100644 (file)
@@ -1,4 +1,4 @@
-;;;;   Copyright (C) 2009, 2010 Free Software Foundation, Inc.
+;;;;   Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc.
 ;;;;
 ;;;; This library is free software; you can redistribute it and/or
 ;;;; modify it under the terms of the GNU Lesser General Public
      `(fluid-set! ,(tree-il->scheme fluid) ,(tree-il->scheme exp)))
 
     ((<prompt> tag body handler)
-     `((@ (ice-9 control) prompt)
-       ,(tree-il->scheme tag) (lambda () ,(tree-il->scheme body))
+     `(call-with-prompt
+       ,(tree-il->scheme tag)
+       (lambda () ,(tree-il->scheme body))
        ,(tree-il->scheme handler)))