[cedet-semantic] Error in semantic completion
Brought to you by:
zappo
|
From: Mike H. <mi...@th...> - 2003-10-28 19:52:49
|
Hi,
I've been trying to get this setup. I installed semantic and eieio, in
order to get symbol completion for C.
It works in the test.c file, which makes me want it to work with my code
too! But, it does not, here is my own test.c file:
int funk1() {
return 5;
}
int main() {
int number;
funk
number = 5;
}
As you can see, it is as simple as can be.
If I put point at the end of the middle line of main() and run
semantic-ia-complete-symbol I simply get the dreaded "No context of type
function to advance in" error, which I do not know how to debug. I have
run bovinate on the file without the incomplete line, and it seemed to
work (or at least, it printed "nil" into the buffer). BTW that buffer is
really annoying, I suggest you turn it off for releases :)
What does this error mean? Why does it occur? It *HAS* worked once, with
the test.c file, but now it doesn't again, and I can't remember what I did
to make it work.
Does anybody have any ideas?
thanks -mike
|