Hello,
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.
My environment has the following defines:
GTAGSLABEL=pygments
GTAGSFORCECPP=1
An example for a function implementation:
__PAGED
_IRQL_requires_max_(PASSIVE_LEVEL)
FLT_PREOP_CALLBACK_STATUS
foo(
__inout PFLT_CALLBACK_DATA Data,
__in PCFLT_RELATED_OBJECTS FltObjects,
_Flt_CompletionContext_Outptr_ PVOID *CompletionContext
);
Due to the SAL annotation _IRQL_requires_max_, the tag being extracted
is _IRQL_requires_max_ even though the function name here is foo.
This does not seem to occur on Exuberant Ctags (what I mean is not
Exuberant Ctags configuration, have not tried it to be honest) but what
I mean is that generating tags file using Exuberant Ctags.
Thanks and if there is any workaround or something you would like me to
try let me know.
Best Regards,
-- Jon.