From bcee72707404142f5ec8dad6c04e9b802ea8ca0b Mon Sep 17 00:00:00 2001 From: David Vazquez Date: Sat, 15 Dec 2012 23:53:32 +0000 Subject: [PATCH] Fix bug in lambda compilation --- lispstrack.lisp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lispstrack.lisp b/lispstrack.lisp index 705c089..16be306 100644 --- a/lispstrack.lisp +++ b/lispstrack.lisp @@ -85,8 +85,8 @@ ",") "){ " - (concat (ls-compile-block (butlast body) env fenv) - "return " (ls-compile (car (last body)) env fenv) ";") + (concat (ls-compile-block (butlast body) new-env fenv) + "return " (ls-compile (car (last body)) new-env fenv) ";") " })"))) -- 1.7.10.4