On Sat, Dec 06, 2008 at 02:21:48PM +0100, Bram Moolenaar wrote:
> > If a tags file has a line that's longer than 512 bytes (as is the case
> > with the attached file), Vim won't be able to parse the tags file
> > resulting in any :ts (or related) commands failing with E431.  As an
> > example, try ":ts cli_parse_add" with the attached tags file.
> 
> There is a hard limit for tags file lines at 512 bytes.

I notice that the buffer for tags is already being dynamically
allocated.  Is there a reason why the buffer isn't reallocated if the
tag doesn't fit in 512 bytes?

> I think we can safely ignore long lines.  Some tags may not be found,
> but that's better than not finding anything.
> 
> Try the patch below.

This works well.

-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: Digital signature

Reply via email to