From 48b25de81bb81ab479f3b71536ad056fe322d5a3 Mon Sep 17 00:00:00 2001 From: Jose Antonio Ortega Ruiz Date: Sun, 6 Jun 2010 14:14:56 +0200 Subject: Guile: better stack trace limits during evaluation. --- scheme/guile/geiser/evaluation.scm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'scheme/guile') diff --git a/scheme/guile/geiser/evaluation.scm b/scheme/guile/geiser/evaluation.scm index cd4d6a4..6090210 100644 --- a/scheme/guile/geiser/evaluation.scm +++ b/scheme/guile/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))) -- cgit v1.2.3