summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-02-27 22:56:26 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-02-27 22:56:26 +0100
commit070b159aa6db39cd220e76b25d6ad58b2a0e3362 (patch)
tree6f9fbd558ab504b33a4419377bcf633015c86d82
parent2b57e2a87b5ba7c65a3c8fe5b997205e2d829874 (diff)
downloadgeiser-guile-070b159aa6db39cd220e76b25d6ad58b2a0e3362.tar.gz
geiser-guile-070b159aa6db39cd220e76b25d6ad58b2a0e3362.tar.bz2
More room for recursion in the scheme reader.
-rw-r--r--elisp/geiser-syntax.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/elisp/geiser-syntax.el b/elisp/geiser-syntax.el
index c041ed4..e61ab54 100644
--- a/elisp/geiser-syntax.el
+++ b/elisp/geiser-syntax.el
@@ -159,7 +159,8 @@
(geiser-syntax--read/list)))))
(defun geiser-syntax--read ()
- (let ((token (geiser-syntax--read/next-token)))
+ (let ((token (geiser-syntax--read/next-token))
+ (max-lisp-eval-depth (max max-lisp-eval-depth 3000)))
(case (car token)
(eob nil)
(lparen (geiser-syntax--read/list))