]> git.eshelyaron.com Git - emacs.git/commit
fix two js-mode syntax propertization bugs
authorTom Tromey <tom@tromey.com>
Mon, 13 Mar 2017 20:53:59 +0000 (21:53 +0100)
committerTom Tromey <tom@tromey.com>
Sat, 1 Apr 2017 21:03:46 +0000 (15:03 -0600)
commitf4ecb65f335e450dfa8f0ee8a496ac78cbbfdc51
treef5cdc92819df4b3e7994f369dc81657ee0bb0692
parentac2ca82eb19bbf7f1cac7ec3f6c020ebf2b15882
fix two js-mode syntax propertization bugs

Bug#26070:
* lisp/progmodes/js.el (js--syntax-propertize-regexp-regexp): Add
zero-or-one to regular expression.
(js-syntax-propertize-regexp): Update.  Propertize body of regexp
literal up to END.
* test/lisp/progmodes/js-tests.el (js-mode-propertize-bug-1)
(js-mode-propertize-bug-2): New tests.
lisp/progmodes/js.el
test/lisp/progmodes/js-tests.el