Jan Larres wrote:

> 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.

Vim supports tag lines up to 512 characters.  If you want you can
recompile Vim and define LSIZE in src/vim.h to a larger number.

-- 
hundred-and-one symptoms of being an internet addict:
201. When somebody asks you where you are, you tell them in which chat room.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
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

Raspunde prin e-mail lui