diff options
author | Tom Tromey <tom@tromey.com> | 2017-02-05 11:40:18 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-02-11 12:30:32 -0700 |
commit | 862d6438cfa6c6c035033697751f3d002357b024 (patch) | |
tree | cc7eab8482c2fe5fabb37660d1d5a6353aefd159 /lisp/emacs-lisp/byte-run.el | |
parent | c2e19a73401eb37d5c13f6c8589dc1e5d706d239 (diff) | |
download | emacs-862d6438cfa6c6c035033697751f3d002357b024.tar.gz emacs-862d6438cfa6c6c035033697751f3d002357b024.tar.bz2 emacs-862d6438cfa6c6c035033697751f3d002357b024.zip |
Recognize JS regexp literals more correctly
Bug#25529
* lisp/progmodes/js.el (js--syntax-propertize-regexp-regexp): New
constant.
(js-syntax-propertize-regexp): Use it. Remove "end" argument.
(js--syntax-propertize-regexp-syntax-table): Remove.
(js-syntax-propertize): Update.
* test/lisp/progmodes/js-tests.el (js-mode-regexp-syntax-bug-25529):
New test.
Diffstat (limited to 'lisp/emacs-lisp/byte-run.el')
0 files changed, 0 insertions, 0 deletions