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.