I always use vim+cscope to check sysmbol definition, and I find cscope always take declaration like:
struct sk_buff;
as a defintiion, which make vim always show a long list files to choose, always drive me crazy. Indeed, I only want the definition:
struct sk_buff { ... };
Seems ctags can resolve this problem, but can cscope handle this? Or somethings I'm wrong.
I checked the cscope source, and I find it's hard to modify the lex and yacc source from beginning.