From: Berndl, Klaus <klaus.berndl@sd...> - 2003-11-05 13:43:01
Hi David, Eric,
some functions in semanticdb are marked as obsolete but there is not mentioned what to use instead.
Example: ECB uses semanticdb-find-nonterminal-by-name. What is the way to get this functionality with semantic 2.0?
Thanks for your help,
From: Eric M. Ludlam <eric@si...> - 2003-11-05 15:07:18
>>> "Berndl, Klaus" <klaus.berndl@...> seems to think that:
>Hi David, Eric,
>some functions in semanticdb are marked as obsolete but there is not mentioned what to use instead.
>Example: ECB uses semanticdb-find-nonterminal-by-name. What is the way to get this functionality with semantic 2.0?
[ ... ]
Many of the emails you've sent will take me some time to account
for, but this I can answer simply.
The `semanticdb-find-nonterminal-*' functions all take 8 arguments
or so, and this bothered me. The new functions remove several
arguments that weren't used much, and in some cases there will be two
functions to account for a Boolean argument. The new functions are
Another important difference is that the original functions scanned
all nearby files associated with a 'project'. Many of the new
functions use the include statements to expand the search, and will
seek out and find sources to search, not just the files you've
already loaded. The old behavior is found with the routines that say
"brute" in the name. I found these routines were restricted in use,
so there are fewer of them than the other types of searches.
There are still holes in the coverage of old routines to new
routines, many of which are on purpose as I tried to guess which ones
were never used. If I was wrong, I will put them back in.
Eric Ludlam: zappo@..., eric@...
Home: http://www.ludlam.net Siege: http://www.siege-engine.com
Emacs: http://cedet.sourceforge.net GNU: http://www.gnu.org