:onclick (lisp (ps-inline (transport))))
img))
img))
- "document.write(LINKORNOT == 1 ? '<a href=\"#\" onclick=\"' + 'javascript:transport();' + '\">' + img + '</a>' : img)")
+ "document.write(LINKORNOT == 1 ? '<a href=\"#\" onclick=\"' + 'javascript:transport()' + '\">' + img + '</a>' : img)")
(test-ps-js negate-number-literal ;; ok, this was broken and fixed before, but no one bothered to add the test!
(- 1)
(declare (ignore bar baz))
(format nil "~a" foo)))
(foo 1 2))
- "'(FOO 1 2)';")
\ No newline at end of file
+ "'(FOO 1 2)';")
+
+(test-ps-js keyword-consistent
+ :x
+ "x")
+
+(test-ps-js simple-symbol-macrolet
+ (symbol-macrolet ((x 1)) x)
+ "1;")
+
+(test-ps-js compound-symbol-macrolet
+ (symbol-macrolet ((x 123)
+ (y (* 2 x)))
+ y)
+ "2 * 123;")