Commit [2fdcad]  Maximize  Restore  History

Allow Javascript new operator to apply to any object constructor

js.c only allowed keywords 'function' 'Function' or 'Object' after
'new' but js syntax allows any constructor function:

var name = new constructor_function( args );

ie an identifier where js.c allowed only keywords.
So changed js.c to allow any identifier as well as the keywords.

elextr elextr 2013-06-06

changed tagmanager/ctags/js.c
tagmanager/ctags/js.c Diff Switch to side-by-side view