From bb67fe27ab5cda3fcefaa1c471f75c8241cc12b2 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Sun, 22 Feb 2009 12:07:09 +0100 Subject: [PATCH] fix "for" compilation * module/language/ecmascript/compile-ghil.scm (comp): Whoops, fix `for' compilation. --- module/language/ecmascript/compile-ghil.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/language/ecmascript/compile-ghil.scm b/module/language/ecmascript/compile-ghil.scm index 3aa007a7e..d2c8385fb 100644 --- a/module/language/ecmascript/compile-ghil.scm +++ b/module/language/ecmascript/compile-ghil.scm @@ -442,8 +442,8 @@ (make-ghil-if e l (comp (or test 'true) e) (make-ghil-begin - e l (list (comp (or inc '(begin)) e) - (comp statement e) + e l (list (comp statement e) + (comp (or inc '(begin)) e) (make-ghil-call e l (make-ghil-ref e l (ghil-var-for-ref! e '%continue)) '())))