rebind more of the js state to runtime
Sat Apr 11 07:56:52 PDT 2009 attila.lendvai@gmail.com
* rebind more of the js state to runtime
Warning: CRC errors found. These are probably harmless but should be repaired.
See 'darcs gzcrcs --help' for more information.
diff -rN -u old-cl-quasi-quote/src/js/transform.lisp new-cl-quasi-quote/src/js/transform.lisp
--- old-cl-quasi-quote/src/js/transform.lisp 2014-04-24 09:18:38.000000000 -0700
+++ new-cl-quasi-quote/src/js/transform.lisp 2014-04-24 09:18:38.000000000 -0700
@@ -29,10 +29,11 @@
(def function wrap-runtime-delayed-js-transformation-form (form)
(wrap-runtime-delayed-transformation-form
- (wrap-forms-with-bindings
- (when (indentation-width-of *transformation*)
- `((*js-indent-level* (+ *js-indent-level* ,*js-indent-level*))))
- form)))
+ (wrap-forms-with-bindings (append `((*in-js-statement-context* ,*in-js-statement-context*)
+ (*js-operator-precedence* ,*js-operator-precedence*))
+ (when (indentation-width-of *transformation*)
+ `((*js-indent-level* (+ *js-indent-level* ,*js-indent-level*)))))
+ form)))
(def (function oe) hyphened-to-camel-case (input)
(declare (type string input))