mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-10 05:50:26 +02:00
tree-il->scheme fix
* module/language/tree-il.scm (tree-il->scheme): Fix <prompt> to Scheme serialization.
This commit is contained in:
parent
8e9af85412
commit
62f528e929
1 changed files with 4 additions and 3 deletions
|
@ -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
|
;;;; This library is free software; you can redistribute it and/or
|
||||||
;;;; modify it under the terms of the GNU Lesser General Public
|
;;;; modify it under the terms of the GNU Lesser General Public
|
||||||
|
@ -471,8 +471,9 @@
|
||||||
`(fluid-set! ,(tree-il->scheme fluid) ,(tree-il->scheme exp)))
|
`(fluid-set! ,(tree-il->scheme fluid) ,(tree-il->scheme exp)))
|
||||||
|
|
||||||
((<prompt> tag body handler)
|
((<prompt> tag body handler)
|
||||||
`((@ (ice-9 control) prompt)
|
`(call-with-prompt
|
||||||
,(tree-il->scheme tag) (lambda () ,(tree-il->scheme body))
|
,(tree-il->scheme tag)
|
||||||
|
(lambda () ,(tree-il->scheme body))
|
||||||
,(tree-il->scheme handler)))
|
,(tree-il->scheme handler)))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue