[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pygments with Windows function prototypes
From: |
Jason Hood |
Subject: |
Re: pygments with Windows function prototypes |
Date: |
Fri, 12 Feb 2021 18:18:30 +1000 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 |
> 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.