Re: pygments with Windows function prototypes

Jason Hood <[email protected]> Fri, 12 Feb 2021 18:18:30 +1000
Newsgroups gmane.comp.gnu.global.bugs
Message-ID <[email protected]>
> So I have recently got to try GNU Global for a project I got to work on (a Windows kernel driver) and it seems like pygments get's confused about the function definitions.

Actually, pygments only finds references, the parser uses ctags to find definitions.

> GTAGSLABEL=pygments
> GTAGSFORCECPP=1

As I just explained in another message, you should not use GTAGSFORCECPP in this case.

Using Universal Ctags I could "set CTAGS=-D _IRQL_requires_max_()=" (I'm on Windows), which would then use foo as the definition.

-- 
Jason.