colhountech / js2-mode

Automatically exported from code.google.com/p/js2-mode
0 stars 0 forks source link

valid unicode code points not recognized #12

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. make new buffer
2. write "var v = ["%5D%", "\u005d", "\x5d\u35b2", "5B"];" js string in buffer
3.

What is the expected output? What do you see instead?
Expected, all literals will be highlighted, and js code on next lines also
will be highlighted. js2-mode highlights only 2 first string literals and
does not highlights 2 last, and next js code.

What version of the product are you using? On what operating system?
GNU Emacs 22.0.98.1 (i386-mingw-nt5.1.2600) of 2007-04-17 on
LENNART-69DE564 (patched) on windows xp

Please provide any additional information below.

Original issue reported on code.google.com by cub...@gmail.com on 1 Apr 2008 at 1:08

GoogleCodeExporter commented 8 years ago
Mostly fixed with js2-20080406.el, but on the same test case js2mode treats 
'\u35b2'
part of third element of 'v' array as error.

Original comment by cub...@gmail.com on 7 Apr 2008 at 11:47

GoogleCodeExporter commented 8 years ago
Looks like Emacs doesn't recognize 35b2 as a valid Unicode code point.  I'll 
have to
dig into it and see what's up.

Original comment by steve.ye...@gmail.com on 14 Apr 2008 at 11:18

GoogleCodeExporter commented 8 years ago

Original comment by steve.ye...@gmail.com on 15 Apr 2008 at 10:37