summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-06-06 14:14:56 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-06-06 14:14:56 +0200
commit6baa7d3e9534f70e77ee7091f54878d7fa76fa93 (patch)
tree147b2af7b419d44f18f9417f5c739dae0e46540d
parente43cfa849ea8f361365bdea6b751c0f44467aa1a (diff)
downloadgeiser-guile-6baa7d3e9534f70e77ee7091f54878d7fa76fa93.tar.gz
geiser-guile-6baa7d3e9534f70e77ee7091f54878d7fa76fa93.tar.bz2
Guile: better stack trace limits during evaluation.
-rw-r--r--geiser/evaluation.scm5
1 files changed, 2 insertions, 3 deletions
diff --git a/geiser/evaluation.scm b/geiser/evaluation.scm
index cd4d6a4..6090210 100644
--- a/geiser/evaluation.scm
+++ b/geiser/evaluation.scm
@@ -45,9 +45,8 @@
(ev (lambda ()
(set! result (call-with-values
(lambda ()
- (compile (start-stack
- 'geiser-evaluation-stack form)
- #:env module))
+ (start-stack 'geiser-evaluation-stack
+ (compile form #:env module)))
(lambda vs (map object->string vs)))))))
(let ((output (with-output-to-string ev)))
(write `(,(cons 'result result) (output . ,output)))