coccigrep
coccigrep copied to clipboard
Macros can cause coccigrep to not find some items
If you have this file x.c
:
int f1(Context *ctx)
{
int y = ctx->member;
UNRESOLVED_MACRO
return 0;
}
And then you run
coccigrep -t "Context" -a "member" x.c
you get no results.
Is this the expected behaviour? Is there anything that can be done to make coccigrep smarter about this?