Insert a reduction step in the history when processing a closed subexpression.
authorChris Hanson <org/chris-hanson/cph>
Sun, 11 Feb 2018 07:18:18 +0000 (23:18 -0800)
committerChris Hanson <org/chris-hanson/cph>
Sun, 11 Feb 2018 07:18:18 +0000 (23:18 -0800)
src/runtime/syntax.scm

index a07b86bab72f5166712d56f4e6062fa81bfbc042..c3930f328f4c6ba28bbdf51660eb6798cfa1ccf1 100644 (file)
@@ -89,11 +89,11 @@ USA.
   (cond ((identifier? form)
         (lookup-identifier form senv))
        ((syntactic-closure? form)
-        (classify-form (syntactic-closure-form form)
-                       (make-partial-senv (syntactic-closure-free form)
-                                          senv
-                                          (syntactic-closure-senv form))
-                       hist))
+        (reclassify (syntactic-closure-form form)
+                    (make-partial-senv (syntactic-closure-free form)
+                                       senv
+                                       (syntactic-closure-senv form))
+                    hist))
        ((pair? form)
         (let ((item (classify-form-car form senv hist)))
           (cond ((classifier-item? item)