yoya / js2-mode

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

variables named enum break js2-mode #95

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. load a js file that has var enum = [1,2,3];

What is the expected output? What do you see instead?
I expected enum to be highlighted as improper syntax.  Instead it broke
js2-mode highlighting and other functionality (you cannot add strings as
quote/double quote is broken)

It reports: Invalid token symbol: js2-ENUM

What version of the product are you using? On what operating system?
emacs 22.1 from ubuntu, latest svn export of js2-mode

Please provide any additional information below.

Original issue reported on code.google.com by anotherj...@gmail.com on 16 Nov 2008 at 12:28

GoogleCodeExporter commented 8 years ago
Fixed in 20090723.

Original comment by steve.ye...@gmail.com on 23 Jul 2009 at 10:39