Re: [CEDET-devel] How to make ia-fast-jump goto struct definition instead of declaration?
Brought to you by:
zappo
From: Eric M. L. <er...@si...> - 2011-03-10 10:38:45
|
On 03/07/2011 03:40 PM, Darren Hoo wrote: > > Say for these three files: > > --- a.h ------ > struct A; > --- a.h ------ > > --- b.h ------ > struct A{ > }; > --- b.h ------ > > --- a.c ------ > #include "a.h" > #include "b.h" > > struct A a; > --- a.c ------ > > I want semantic-ia-fast-jump on A in a.c goto b.h instead of a.h, > though I know that semantic-comple-symbol will do. Hi, A datatype that has no local members is considered a prototype, so Semantic can't distinguish between the two prototypes in this case. When I add "int foo;" into b.h's structure, then things worked for me as you described how you'd like it. Eric |