Export to GitHub

js2-mode - issue #95

variables named enum break js2-mode


Posted on Nov 16, 2008 by Grumpy Kangaroo

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.

Comment #1

Posted on Jul 23, 2009 by Helpful Giraffe

Fixed in 20090723.

Status: Fixed