Fix kfun parse-cps bug
authorAndy Wingo <wingo@pobox.com>
Thu, 23 Feb 2017 10:37:06 +0000 (11:37 +0100)
committerAndy Wingo <wingo@pobox.com>
Thu, 23 Feb 2017 10:37:06 +0000 (11:37 +0100)
* module/language/cps.scm (parse-cps): Fix bug parsing kfun.

module/language/cps.scm

index b66bc38c012e0ac856798261da9e5b513f0eefd9..5d48269901bcd638db418a5817b5b54c72287781 100644 (file)
      (build-cont ($kreceive req rest k)))
     (('kargs names syms body)
      (build-cont ($kargs names syms ,(parse-cps body))))
-    (('kfun src meta self ktail kclause)
+    (('kfun meta self ktail kclause)
      (build-cont ($kfun (src exp) meta self ktail kclause)))
     (('ktail)
      (build-cont ($ktail)))