bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Python 3 and pygments-parser


From: Marcus Harnisch
Subject: Re: Python 3 and pygments-parser
Date: Mon, 13 May 2024 10:04:22 +0200

Hi Shigio

On Sat, May 11, 2024 at 5:35 AM Shigio YAMAGUCHI <shigio@gnu.org> wrote:
$ cat gtags.conf
default:\
:ctagscom=/opt/local/bin/uctags:\
:langmap=C\:.c.h:\
:gtags_parser=C\:/usr/local/lib/gtags/pygments-parser.la:

The important difference, which exposes the bug, is your explicit configuration of ctagscom. Leave it undefined and rely on whatever UNIVERSAL_CTAGS has been configured to. Only if ctagscom is empty, you will see a comparison between b'' (empty bytearray) and '' (empty string).

Best regards,
Marcus

reply via email to

[Prev in Thread] Current Thread [Next in Thread]