summaryrefslogtreecommitdiff
path: root/geiser
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-06-06 18:16:08 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-06-06 18:16:08 +0200
commit640e9bc3cd7cfbd15cc834294d73c39c20dd6de4 (patch)
treeb58e7abb42e0db1fb48aa67573c7304d91de742e /geiser
parent6baa7d3e9534f70e77ee7091f54878d7fa76fa93 (diff)
downloadgeiser-guile-640e9bc3cd7cfbd15cc834294d73c39c20dd6de4.tar.gz
geiser-guile-640e9bc3cd7cfbd15cc834294d73c39c20dd6de4.tar.bz2
Guile: fix for macroexpand.
Diffstat (limited to 'geiser')
-rw-r--r--geiser/evaluation.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/geiser/evaluation.scm b/geiser/evaluation.scm
index 6090210..96d194b 100644
--- a/geiser/evaluation.scm
+++ b/geiser/evaluation.scm
@@ -19,6 +19,7 @@
#:use-module (system base compile)
#:use-module (system base pmatch)
#:use-module (system vm program)
+ #:use-module (language tree-il)
#:use-module (ice-9 pretty-print))
(define (handle-error stack . args)
@@ -64,6 +65,6 @@
(let ((all (and (not (null? all)) (car all))))
(with-output-to-string
(lambda ()
- (pretty-print ((if all macroexpand macroexpand-1) form))))))
+ (pretty-print (tree-il->scheme (macroexpand form)))))))
;;; evaluation.scm ends here