Add a declaration to the expansion of rule results.
authorJoe Marshall <eval.apply@gmail.com>
Fri, 13 Jan 2012 03:39:43 +0000 (19:39 -0800)
committerJoe Marshall <eval.apply@gmail.com>
Fri, 13 Jan 2012 03:39:43 +0000 (19:39 -0800)
src/compiler/base/pmpars.scm

index 6138dacadceb971ace1c3b9eac7188dadb54d348..fd15e959856fe72d58cbb35e0670c1af9f41ffc3 100644 (file)
@@ -144,6 +144,7 @@ USA.
                                 ,@qualifiers
                                 (,r-lambda () ,body)))))
       `(,r-lambda ,outer-vars
+         (,(close-syntax 'DECLARE environment) (INTEGRATE ,@outer-vars))
          ,(if (and (null? inner-vars)
                    (null? xforms))
               qualified-body