Re[1]: [cedet-semantic] Error in semantic completion
Brought to you by:
zappo
|
From: Eric M. L. <er...@si...> - 2003-10-28 20:23:18
|
Hi,
If the "M-x bovinate" command reports back "nil", then it failed to
identify any symbols. If you instead use "C-u M-x bovinate", it
will force a full parse. If that also reports nil, then something
else is wrong. I tried your sample with the version of semantic in
the cedet-1.0beta1.tar.gz file recently uploaded to the cedet
project area, and everything worked as expected for me. The file
may have attempted a parse while you were typing, and the poor
incremental parser in 1.4.4 failed recover properly.
Also, to avoid the buffer that pops up with the tag dump, try
"M-- M-x bovinate" instead.
For larger projects, be sure to investigate the
`semanticdb-project-roots' variable.
Good Luck
Eric
>>> Mike Hearn <mi...@th...> seems to think that:
>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
>
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: SF.net Giveback Program.
>Does SourceForge.net help you be more productive? Does it
>help you create better code? SHARE THE LOVE, and help us help
>YOU! Click Here: http://sourceforge.net/donate/
>_______________________________________________
>cedet-semantic mailing list
>ced...@li...
>https://lists.sourceforge.net/lists/listinfo/cedet-semantic
>
--
Eric Ludlam: za...@gn..., er...@si...
Home: http://www.ludlam.net Siege: www.siege-engine.com
Emacs: http://cedet.sourceforge.net GNU: www.gnu.org
|