]> code.delx.au - gnu-emacs-elpa/commit
Fix #171
authorDmitry Gutov <dgutov@yandex.ru>
Sat, 1 Nov 2014 11:47:01 +0000 (14:47 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Sat, 1 Nov 2014 11:47:01 +0000 (14:47 +0300)
commitd860d8f3c51af44f2b5bab32316beaafb440518f
tree3e66109d9090cc396204dcd394dfe08a5bdd3f83
parente703d4fc885f7259e9a492e71193c29a61bfd6be
Fix #171

* js2-mode.el (js2-parse-primary-expr): Use
`js2-current-token-end' to retrieve the end of the current token.
This works better if parsing errored on EOF.
(js2-read-regexp): Don't try to set `syntax-table' property (it
didn't work anyway, `syntax-class' is bogus).
js2-mode.el