Monday, May 4, 2020

Re: E431

On 2020-05-04, Steve wrote:
> Hi Gary,
>
>
> Le 03-05-2020, à 11:47:21 -0700, Gary Johnson a écrit :
>
> >If the error is still not apparent, post the first few lines of the
> >tags file here and maybe someone here can see the problem.
>
>
> token : .lparen..................blockComment
> }, {
> !_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/
> !_TAG_PROGRAM_NAME Exuberant Ctags //
> !_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/
> !_TAG_PROGRAM_VERSION 5.9~svn20110310 //
> " includes/ace/src/mode-slim.js /^ this.$quotes = {'"': '"', "'": "'", "`": "`"};$/;" p class:$quotes
> " includes/restler/framework/Luracast/Restler/explorer/lib/underscore-min.js
>
>
> I guess the first line doesn't look good.

Hi Steve,

No, it doesn't. This looks like a bug in Exuberant Ctags that was
reported in August of 2009:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=541316

Since development of Exuberant Ctags stopped sometime in 2009, it
may never have been fixed.

Workarounds proposed in that report include editing the tags file
and deleting any suspicious lines before the !_TAG_FILE_FORMAT line,
or filtering the tags file with an awk script (although I think
using sed or grep would be simpler).

If this happens only occasionally, I would just edit the tags file
with Vim. If it's a continual problem, then running ctags like this
should fix it:

$ ctags -R -f - | grep $'\t' > tags

You could also try using Universal Ctags instead of Exuberant Ctags.
It might not have the bug, if this is indeed a bug in Exuberant
Ctags.

> Thanks for the help.

You're welcome. I hope we can find a good solution.

Regards,
Gary

--
--
You received this message from the "vim_use" 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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20200504192147.GD390%40phoenix.

No comments: