Hi, Eric.

I use C language and I checkout cedet from CVS yesterday. I found sometimes semantic-ia-fast-jump can not jump to the correct area.

When I want to jump to the define of a structure member, and the structure is defined in a file which is not opened in emacs, semantic-ia-fast-jump will jump to a wrong place. But if I open the file in emacs, semantic-ia-fast-jump can jump to the correct place.

This is my test code:

test.c
--------------------------------------------
#include "test.h"

int main(int argc, char * argv[])
{
    STR x;
    x.a = 0;
    var = 0;
}
-------------------------------------------


test.h
-------------------------------------------
typedef struct STR
{
        int a;
        int b;
        char c;
} STR;

int var;
-------------------------------------------

Both of these two file in the same directory.
If I do not open test.h to emacs, and put the point to the struct x's member "a", then type M-x semantic-ia-fast-jump, the point just jump to the third line of the test.c. But if I open test.h in emacs, semantic-ia-fast-jump can jump to the correct area.

I also do another test, if I jump to the define of a variable ("var" in my example), it can always jump to the correct area, no matter whether or not I open the test.h to emacs.

I put the point to "a" in test.c, and type M-x semantic-analyze-debug-assist, It tell me "Things look ok."

Is it a bug?

YuPeng