Fix GET-INTERNAL-REAL-TIME
[jscl.git] / src / compiler-codegen.lisp
index 27114b2..e82b841 100644 (file)
               (js-expr step)
               (js-format ")")
               (js-stmt `(progn ,@body))))
+           (for-in
+            (destructuring-bind ((x object) &body body) (cdr form)
+              (js-format "for (")
+              (js-identifier x)
+              (js-format " in ")
+              (js-expr object)
+              (js-format ")")
+              (js-stmt `(progn ,@body))))
            (try
             (destructuring-bind (&rest body) (cdr form)
               (js-format "try")