Re: [cedet-semantic] Problem with cedet - or - how do I invoke/configure it?
Brought to you by:
zappo
From: Eric M. L. <er...@si...> - 2008-04-24 01:06:30
|
Hi, You've provided a case I had not yet done any testing on. There were several things preventing this from working: 1) you capitalized Class. Semantic currently only parses classes in lower case. 2) :: was not a symbol separator in C/C++. I fixed this. 3) completions outside of any declaration currently had no tag class to complete to. I fixed that too. 4) semantic-complete-inline-analyzer doesn't provide a good error message. This is also easy to fix. After tidying these up, your example provides completions for me. These changes are now in CVS, so you ought to be good to go. Eric >>> Nathan Huesken <ce...@lo...> seems to think that: >Hi, > >I am unsure how I should configure and invoke code completion. >I downloaded the cvs version, compiled it and added the line in the INSTALL file to my .emacs file. > >I typed this into a new cpp file: > >Class Test >{ > TestFunction(); >}; > >Test:: > >Now I want semantic to complete with TestFunction(); ... how ... from earlier days I remember: >semantic-complete-analyze-inline > >But this gives me: > >Making completion list... [2 times] >eieio-oref: Wrong type argument: (or object-p class-p), nil >Wrong type argument: (or object-p class-p), nil [3 times] > >Is there some guide on how to use semantic with a project? >Or how can I find out? [ ... ] -- Eric Ludlam: er...@si... Siege: www.siege-engine.com Emacs: http://cedet.sourceforge.net |