Hi, I recently started poking around in the Mozilla codebase and so generated a tags file for it using exuberant-ctags. But when I tried to access tags in Vim I always got the following message:
E431: Format error in tags file "tags"
Before byte 5118
E426: tag not found: test
I turned out that the offending tag had an unusually long name (638
characters, to be exact). Otherwise the format of the line seems to be
correct.
I have attached the tag file and the file that generated it, produced with the
following command line:
ctags --sort=yes --fields=+iaS html5_tree_construction_exceptions.js
The offending tag is on line 32 of the tags file.
This is with Vim 7.3.
Cheers,
Jan
--
OpenPGP Key-ID: 00A0FD5F
"Peace, n.: In international affairs, a period of cheating between two
periods of fighting." -- Ambrose Bierce, "The Devil's Dictionary"
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
!_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 /[email protected]/ !_TAG_PROGRAM_NAME Exuberant Ctags // !_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/ !_TAG_PROGRAM_VERSION 5.8 // html5Exceptions. n html5_tree_construction_exceptions.js /^ " \\n ": true,$/;" p html5Exceptions.&#X html5_tree_construction_exceptions.js /^ "&#X": true,$/;" p html5Exceptions.&#x html5_tree_construction_exceptions.js /^ "&#x": true,$/;" p html5Exceptions.<! html5_tree_construction_exceptions.js /^ "<!": true,$/;" p html5Exceptions.<!# html5_tree_construction_exceptions.js /^ "<!#": true,$/;" p html5Exceptions.<!-----><font><div>hello<table>excite!<b>me!<th><i>please!</tr><!--X--> html5_tree_construction_exceptions.js /^ "<!-----><font><div>hello<table>excite!<b>me!<th><i>please!<\/tr><!--X-->": true,$/;" p html5Exceptions.<!--><div>--<!--> html5_tree_construction_exceptions.js /^ "<!--><div>--<!-->": true,$/;" p html5Exceptions.<!COM--MENT> html5_tree_construction_exceptions.js /^ "<!COM--MENT>": true,$/;" p html5Exceptions.<!COMMENT> html5_tree_construction_exceptions.js /^ "<!COMMENT>": true,$/;" p html5Exceptions.<!DOCTYPE HTML><li>hello<li>world<ul>how<li>do</ul>you</body><!--do--> html5_tree_construction_exceptions.js /^ "<!DOCTYPE HTML><li>hello<li>world<ul>how<li>do<\/ul>you<\/body><!--do-->": true,$/;" p html5Exceptions.<!DOCTYPE HTML>A<option>B<optgroup>C<select>D</option>E html5_tree_construction_exceptions.js /^ "<!DOCTYPE HTML>A<option>B<optgroup>C<select>D<\/option>E": true,$/;" p html5Exceptions.<!DOCTYPE htmL><dt><div><dd> html5_tree_construction_exceptions.js /^ "<!DOCTYPE htmL><dt><div><dd>": true,$/;" p html5Exceptions.<!DoctypE html><!-- XXX - XXX html5_tree_construction_exceptions.js /^ "<!DoctypE html><!-- XXX - XXX": true,$/;" p html5Exceptions.<!DoctypE html><!-- XXX - XXX - XXX --> html5_tree_construction_exceptions.js /^ "<!DoctypE html><!-- XXX - XXX - XXX -->": true,$/;" p html5Exceptions.<!DoctypE html><!-- XXX - XXX --> html5_tree_construction_exceptions.js /^ "<!DoctypE html><!-- XXX - XXX -->": true,$/;" p html5Exceptions.<!doctype html> <html> html5_tree_construction_exceptions.js /^ "<!doctype html> <html>": true,$/;" p html5Exceptions.<!doctype html><!-- X html5_tree_construction_exceptions.js /^ "<!doctype html><!-- X": true,$/;" p html5Exceptions.<!doctype html><!--x-- html5_tree_construction_exceptions.js /^ "<!doctype html><!--x--": true,$/;" p html5Exceptions.<!doctype html><body><title>X</title><meta name=z><link rel=foo><style>nx { content:"</style" } </style> html5_tree_construction_exceptions.js /^ "<!doctype html><body><title>X<\/title><meta name=z><link rel=foo><style>\\nx { content:\\"<\/style\\" } <\/style>": true,$/;" p html5Exceptions.<!doctype html><p><b><i><u></p> <p>X html5_tree_construction_exceptions.js /^ "<!doctype html><p><b><i><u><\/p> <p>X": true,$/;" p html5Exceptions.<!doctype html><select><optgroup><option></optgroup><option><select><option> html5_tree_construction_exceptions.js /^ "<!doctype html><select><optgroup><option><\/optgroup><option><select><option>": true,$/;" p html5Exceptions.<!doctypehtml><scrIPt type=text/x-foobar;baz>X</SCRipt html5_tree_construction_exceptions.js /^ "<!doctypehtml><scrIPt type=text\/x-foobar;baz>X<\/SCRipt": true,$/;" p html5Exceptions.</ COM--MENT > html5_tree_construction_exceptions.js /^ "<\/ COM--MENT >": true,$/;" p html5Exceptions.</ COMMENT > html5_tree_construction_exceptions.js /^ "<\/ COMMENT >": true,$/;" p html5Exceptions.</# html5_tree_construction_exceptions.js /^ "<\/#": true,$/;" p html5Exceptions.</strong></b></em></i></u></strike></s></blink></tt></pre></big></small></font></select></h1></h2></h3></h4></h5></h6></body></br></a></img></title></span></style></script></table></th></td></tr></frame></area></link></param></hr></input></col></base></meta></basefont></bgsound></embed></spacer></p></dd></dt></caption></colgroup></tbody></tfoot></thead></address></blockquote></center></dir></div></dl></fieldset></listing></menu></ol></ul></li></nobr></wbr></form></button></marquee></object></html></frameset></head></iframe></image></isindex></noembed></noframes></noscript></optgroup></option></plaintext></textarea> html5_tree_construction_exceptions.js /^ "<\/strong><\/b><\/em><\/i><\/u><\/strike><\/s><\/blink><\/tt><\/pre><\/big><\/small><\/font><\/select><\/h1><\/h2><\/h3><\/h4><\/h5><\/h6><\/body><\/br><\/a><\/img><\/title><\/span><\/style><\/script><\/table><\/th><\/td><\/tr><\/frame><\/area><\/link><\/param><\/hr><\/input><\/col><\/base><\/meta><\/basefont><\/bgsound><\/embed><\/spacer><\/p><\/dd><\/dt><\/caption><\/colgroup><\/tbody><\/tfoot><\/thead><\/address><\/blockquote><\/center><\/dir><\/div><\/dl><\/fieldset><\/listing><\/menu><\/ol><\/ul><\/li><\/nobr><\/wbr><\/form><\/button><\/marquee><\/object><\/html><\/frameset><\/head><\/iframe><\/image><\/isindex><\/noembed><\/noframes><\/noscript><\/optgroup><\/option><\/plaintext><\/textarea>": true,$/;" p html5Exceptions.<? html5_tree_construction_exceptions.js /^ "<?": true,$/;" p html5Exceptions.<?# html5_tree_construction_exceptions.js /^ "<?#": true,$/;" p html5Exceptions.<?COM--MENT?> html5_tree_construction_exceptions.js /^ "<?COM--MENT?>": true,$/;" p html5Exceptions.<?COMMENT?> html5_tree_construction_exceptions.js /^ "<?COMMENT?>": true,$/;" p html5Exceptions.<DIV> abc <B> def <I> ghi <P> html5_tree_construction_exceptions.js /^ "<DIV> abc <B> def <I> ghi <P>": true,$/;" p html5Exceptions.<DIV> abc <B> def <I> ghi <P> jkl html5_tree_construction_exceptions.js /^ "<DIV> abc <B> def <I> ghi <P> jkl": true,$/;" p html5Exceptions.<DIV> abc <B> def <I> ghi <P> jkl </B> html5_tree_construction_exceptions.js /^ "<DIV> abc <B> def <I> ghi <P> jkl <\/B>": true,$/;" p html5Exceptions.<DIV> abc <B> def <I> ghi <P> jkl </B> mno html5_tree_construction_exceptions.js /^ "<DIV> abc <B> def <I> ghi <P> jkl <\/B> mno": true,$/;" p html5Exceptions.<DIV> abc <B> def <I> ghi <P> jkl </B> mno </I> html5_tree_construction_exceptions.js /^ "<DIV> abc <B> def <I> ghi <P> jkl <\/B> mno <\/I>": true,$/;" p html5Exceptions.<DIV> abc <B> def <I> ghi <P> jkl </B> mno </I> pqr html5_tree_construction_exceptions.js /^ "<DIV> abc <B> def <I> ghi <P> jkl <\/B> mno <\/I> pqr": true,$/;" p html5Exceptions.<DIV> abc <B> def <I> ghi <P> jkl </B> mno </I> pqr </P> html5_tree_construction_exceptions.js /^ "<DIV> abc <B> def <I> ghi <P> jkl <\/B> mno <\/I> pqr <\/P>": true,$/;" p html5Exceptions.<DIV> abc <B> def <I> ghi <P> jkl </B> mno </I> pqr </P> stu html5_tree_construction_exceptions.js /^ "<DIV> abc <B> def <I> ghi <P> jkl <\/B> mno <\/I> pqr <\/P> stu": true,$/;" p html5Exceptions.<a href="blah">aba<table><a href="foo">br<tr><td></td></tr>x</table>aoe html5_tree_construction_exceptions.js /^ "<a href=\\"blah\\">aba<table><a href=\\"foo\\">br<tr><td><\/td><\/tr>x<\/table>aoe": true,$/;" p html5Exceptions.<a href="blah">aba<table><tr><td><a href="foo">br</td></tr>x</table>aoe html5_tree_construction_exceptions.js /^ "<a href=\\"blah\\">aba<table><tr><td><a href=\\"foo\\">br<\/td><\/tr>x<\/table>aoe": true,$/;" p html5Exceptions.<a href=a>aa<marquee>aa<a href=b>bb</marquee>aa html5_tree_construction_exceptions.js /^ "<a href=a>aa<marquee>aa<a href=b>bb<\/marquee>aa": true,$/;" p html5Exceptions.<a><p><a></a></p></a> html5_tree_construction_exceptions.js /^ "<a><p><a><\/a><\/p><\/a>": true,$/;" p html5Exceptions.<a><table><a></table><p><a><div><a> html5_tree_construction_exceptions.js /^ "<a><table><a><\/table><p><a><div><a>": true,$/;" p html5Exceptions.<a><table><td><a><table></table><a></tr><a></table><a> html5_tree_construction_exceptions.js /^ "<a><table><td><a><table><\/table><a><\/tr><a><\/table><a>": true,$/;" p html5Exceptions.<a><table><td><a><table></table><a></tr><a></table><b>X</b>C<a>Y html5_tree_construction_exceptions.js /^ "<a><table><td><a><table><\/table><a><\/tr><a><\/table><b>X<\/b>C<a>Y": true,$/;" p html5Exceptions.<b id=a><p><b id=b></p></b>TEST html5_tree_construction_exceptions.js /^ "<b id=a><p><b id=b><\/p><\/b>TEST": true,$/;" p html5Exceptions.<b><table><td></b><i></table> html5_tree_construction_exceptions.js /^ "<b><table><td><\/b><i><\/table>": true,$/;" p html5Exceptions.<b><table><td></b><i></table>X html5_tree_construction_exceptions.js /^ "<b><table><td><\/b><i><\/table>X": true,$/;" p html5Exceptions.<b><table><td><i></table> html5_tree_construction_exceptions.js /^"<b><table><td><i><\/table>": true,$/;" p html5Exceptions.<b>A<cite>B<div>C html5_tree_construction_exceptions.js /^ "<b>A<cite>B<div>C": true,$/;" p html5Exceptions.<b>A<cite>B<div>C</cite>D html5_tree_construction_exceptions.js /^ "<b>A<cite>B<div>C<\/cite>D": true,$/;" p html5Exceptions.<body><body><base><link><meta><title><p></title><body><p></body> html5_tree_construction_exceptions.js /^ "<body><body><base><link><meta><title><p><\/title><body><p><\/body>": true,$/;" p html5Exceptions.<cite><b><cite><i><cite><i><cite><i><div>X</b>TEST html5_tree_construction_exceptions.js /^ "<cite><b><cite><i><cite><i><cite><i><div>X<\/b>TEST": true,$/;" p html5Exceptions.<head></head><!-- --><style></style><!-- --><script></script> html5_tree_construction_exceptions.js /^ "<head><\/head><!-- --><style><\/style><!-- --><script><\/script>": true,$/;" p html5Exceptions.<head></head><!-- -->x<style></style><!-- --><script></script> html5_tree_construction_exceptions.js /^ "<head><\/head><!-- -->x<style><\/style><!-- --><script><\/script>": true,$/;" p html5Exceptions.<head></p><meta><p> html5_tree_construction_exceptions.js /^ "<head><\/p><meta><p>": true,$/;" p html5Exceptions.<isindex test=x name=x> html5_tree_construction_exceptions.js /^ "<isindex test=x name=x>": true,$/;" p html5Exceptions.<p id=a><b><p id=b></b>TEST html5_tree_construction_exceptions.js /^ "<p id=a><b><p id=b><\/b>TEST": true,$/;" p html5Exceptions.<p><b><div><marquee></p></b></div> html5_tree_construction_exceptions.js /^ "<p><b><div><marquee><\/p><\/b><\/div>": true,$/;" p html5Exceptions.<p><b><div><marquee></p></b></div>X html5_tree_construction_exceptions.js /^ "<p><b><div><marquee><\/p><\/b><\/div>X": true,$/;" p html5Exceptions.<p><hr></p> html5_tree_construction_exceptions.js /^ "<p><hr><\/p>": true,$/;" p html5Exceptions.<select><b><option><select><option></b></select> html5_tree_construction_exceptions.js /^ "<select><b><option><select><option><\/b><\/select>": true,$/;" p html5Exceptions.<select><b><option><select><option></b></select>X html5_tree_construction_exceptions.js /^ "<select><b><option><select><option><\/b><\/select>X": true,$/;" p html5Exceptions.<table><a href="blah">aba<tr><td><a href="foo">br</td></tr>x</table>aoe html5_tree_construction_exceptions.js /^ "<table><a href=\\"blah\\">aba<tr><td><a href=\\"foo\\">br<\/td><\/tr>x<\/table>aoe": true,$/;" p html5Exceptions.<table><col><tbody><col><tr><col><td><col></table><col> html5_tree_construction_exceptions.js /^ "<table><col><tbody><col><tr><col><td><col><\/table><col>": true,$/;" p html5Exceptions.<table><tr></strong></b></em></i></u></strike></s></blink></tt></pre></big></small></font></select></h1></h2></h3></h4></h5></h6></body></br></a></img></title></span></style></script></table></th></td></tr></frame></area></link></param></hr></input></col></base></meta></basefont></bgsound></embed></spacer></p></dd></dt></caption></colgroup></tbody></tfoot></thead></address></blockquote></center></dir></div></dl></fieldset></listing></menu></ol></ul></li></nobr></wbr></form></button></marquee></object></html></frameset></head></iframe></image></isindex></noembed></noframes></noscript></optgroup></option></plaintext></textarea> html5_tree_construction_exceptions.js /^ "<table><tr><\/strong><\/b><\/em><\/i><\/u><\/strike><\/s><\/blink><\/tt><\/pre><\/big><\/small><\/font><\/select><\/h1><\/h2><\/h3><\/h4><\/h5><\/h6><\/body><\/br><\/a><\/img><\/title><\/span><\/style><\/script><\/table><\/th><\/td><\/tr><\/frame><\/area><\/link><\/param><\/hr><\/input><\/col><\/base><\/meta><\/basefont><\/bgsound><\/embed><\/spacer><\/p><\/dd><\/dt><\/caption><\/colgroup><\/tbody><\/tfoot><\/thead><\/address><\/blockquote><\/center><\/dir><\/div><\/dl><\/fieldset><\/listing><\/menu><\/ol><\/ul><\/li><\/nobr><\/wbr><\/form><\/button><\/marquee><\/object><\/html><\/frameset><\/head><\/iframe><\/image><\/isindex><\/noembed><\/noframes><\/noscript><\/optgroup><\/option><\/plaintext><\/textarea>": true,$/;" p html5Exceptions.<ul><li></li><div><li></div><li><li><div><li><address><li><b><em></b><li></ul> html5_tree_construction_exceptions.js /^ "<ul><li><\/li><div><li><\/div><li><li><div><li><address><li><b><em><\/b><li><\/ul>": true,$/;" p
html5_tree_construction_exceptions.js
Description: application/javascript
