]> git.eshelyaron.com Git - emacs.git/commit
Fix JS regexp literal syntax propertization in expressions
authorTom Tromey <tom@tromey.com>
Mon, 16 Jan 2017 21:02:45 +0000 (14:02 -0700)
committerTom Tromey <tom@tromey.com>
Tue, 17 Jan 2017 22:33:20 +0000 (15:33 -0700)
commitaa711e0a92c30914e1c68cf39251638d4faee22d
tree0933e5bee8a5544e639854ea2f181cee3f2f9081
parent14c7d3a6e0581fd26254cd316fd369c9c3651146
Fix JS regexp literal syntax propertization in expressions

Bug#25465:
* lisp/progmodes/js.el (js-syntax-propertize): Recognize a regexp
literal after "!", "&", and "|".
test/lisp/progmodes/js-tests.el (js-mode-regexp-syntax): New test.
lisp/progmodes/js.el
test/lisp/progmodes/js-tests.el