Fix: add parens around instanceof to make it work in all situations
authorAttila Lendvai <attila.lendvai@gmail.com>
Wed, 6 Jun 2007 19:45:25 +0000 (19:45 +0000)
committerAttila Lendvai <attila.lendvai@gmail.com>
Wed, 6 Jun 2007 19:45:25 +0000 (19:45 +0000)
src/js.lisp

index 79d13c1..5b32cc7 100644 (file)
@@ -1042,6 +1042,8 @@ vice-versa.")
          (list "instanceof")
          (js-to-strings (slot-value instanceof 'type) (+ start-pos 2)))
    (- 80 start-pos 2)
+   :start "("
+   :end ")"
    :white-space
    "  "))