]> git.eshelyaron.com Git - emacs.git/commit
Permit non-ASCII identifiers in JS
authorJackson Ray Hamilton <jackson@jacksonrayhamilton.com>
Mon, 8 Apr 2019 15:36:38 +0000 (08:36 -0700)
committerJackson Ray Hamilton <jackson@jacksonrayhamilton.com>
Tue, 9 Apr 2019 05:48:24 +0000 (22:48 -0700)
commit18bbfc4c754ea653ee0a7e2e47d1d61304f5c42a
tree6b4e96fd801cb08dbc297d7ab76d3631b0b54b89
parent3eadf1eff43c84a1095094334549a1e0d1e75d80
Permit non-ASCII identifiers in JS

* lisp/progmodes/js.el (js--name-start-re): Generally allow
identifiers to begin with non-ASCII letters.  This is of particular
importance to JSX parsing.

* test/manual/indent/jsx-unclosed-2.jsx: Add test to ensure non-ASCII
characters are parsed properly.
lisp/progmodes/js.el
test/manual/indent/jsx-unclosed-2.jsx