#308 (JS) invalid tags file created from env.rhino.1.2.js

closed-works-for-me
None
5
2014-08-23
2011-03-10
Anonymous
No

env.rhino.js.1.2.js causes an invalid tags file to be created:

$ wget http://gfxmonk.net/misc/env.rhino.1.2.js

2011-03-10 21:37:27 (213 KB/s) - `env.rhino.1.2.js' saved [697158/697158]

$ ctags env.rhino.1.2.js
ctags: Warning: ignoring null tag in env.rhino.1.2.js
ctags: Warning: ignoring null tag in env.rhino.1.2.js

$ head tags

return str;
str = str.replace(unescAmpRegEx, env.rhino.1.2.js /^ str = str.replace(unescAmpRegEx, "&").$/;" f
* @param str : string - The string to be unescaped
* @return : string - The unescaped string
* function __unescapeXML__
*/
!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/
!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/
!_TAG_PROGRAM_AUTHOR Darren Hiebert /dhiebert@users.sourceforge.net/

$ ctags --version
Exuberant Ctags 5.8, Copyright (C) 1996-2009 Darren Hiebert
Compiled: Aug 17 2010, 20:04:35
Addresses: <dhiebert@users.sourceforge.net>, http://ctags.sourceforge.net
Optional compiled features: +wildcards, +regex

Many thanks,

Tim.

Discussion

  • David Fishburn
    David Fishburn
    2012-11-06

    • assigned_to: nobody --> dfishburn
     
  • Seems to work with development version of CTags.

     
  • David Fishburn
    David Fishburn
    2013-04-23

    Works in trunk or next release after 5.8.1

     
  • David Fishburn
    David Fishburn
    2013-04-23

    • status: open --> closed-works-for-me