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.
Seems to work with development version of CTags.
Works in trunk or next release after 5.8.1
I think the error still persists. Got it with some javascript libraries (e.g. socket.io-client\test\socket.test.js) that I got from npm, but also in minimized files like jquery minimized: http://code.jquery.com/jquery-2.1.4.min.js
I broke down some cases from socket.test.js
0 Warnings:
1 Warning:
2 Warnings:
I checked it with the last ctags version from trunk.
Last edit: Luke 2015-08-04
It doesn't reproduced in universal-ctags(https://ctags.io).
CONFIRMED
Didn't know about universal-ctags....
--> Though, there are warnings in some other libraries, see attachment
Thank you for reporting more URLs.
I will try to fix them at https://github.com/universal-ctags/ctags/issues/471 .
Maybe fixed for all the attachements.