]> code.delx.au - gnu-emacs-elpa/commitdiff
js2-get-token-internal-1: add a FIXME
authorDmitry Gutov <dgutov@yandex.ru>
Wed, 9 Jul 2014 23:26:57 +0000 (02:26 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Fri, 11 Jul 2014 05:37:08 +0000 (08:37 +0300)
js2-mode.el

index b4f768c4abef3888c33f4d91ba904fd603501d37..4f1df5d22cf29c98e029d535ff94b42700b4380d 100644 (file)
@@ -5515,6 +5515,9 @@ its relevant fields and puts it into `js2-ti-tokens'."
           (js2-unget-char)
           (setf str (js2-collect-string js2-ts-string-buffer)
                 (js2-token-end token) js2-ts-cursor)
+          ;; FIXME: Invalid in ES5 and ES6, see
+          ;; https://bugzilla.mozilla.org/show_bug.cgi?id=694360
+          ;; Probably should just drop this conditional.
           (unless contains-escape
             ;; OPT we shouldn't have to make a string (object!) to
             ;; check if it's a keyword.