I was using the most recent cedet pre releases...

Now i changed to the most recent cedet beta, as you said, and the problem is fixed. ;) thanks!

Can you please tell me if there is an updated documentation for semantic besides this one (this one is not updated, because it still has 'semantic-nonterminal-abstract' and should have 'semantic-tag-abstract'  like you told me):

http://cedet.sourceforge.net/info/semantic.html#Programming

One last thing. Having the following class definition (in java), i would like to know if semantic already provide functions to get the method tokens and the variable tokens.

For e.g:

public class x {
    private int y = 0;
    public int z () {
          return y;
    }
}

Now i would like to get the token corresponding to the 'z' method, and the token corresponding to the 'y' variable.

I was using something like: (semantic-find-nonterminal-by-token 'function <and here i putted a buffer>) -- for trying to get the z method -- but this always returned 'nil'.

I did something similar to the variable and returned 'nil' either. But to get the class token type it seems to work well...

So can you please tell me if semantic already has functions to get the methods tokens and the variable tokens. If the answer is yes, which functions are these?

Thanks for the help,
Henda

On 3/18/06, Eric M. Ludlam <eric@siege-engine.com> wrote:
What version of semantic are you using?  It should exist in the
version of semantic in the most recent cedet betas.

Eric

>>> "Henda Carvalho" < henda.for.work@gmail.com> seems to think that:
>Hi Eric,
>
>I tried to use 'semantic-tag-abstract' but it still doesn't work. I still
>receive the same error:
>
>Debugger entered--Lisp error: (void-function semantic-tag-abstract)
>
>Henda
>
>
>On 3/17/06, Eric M. Ludlam <eric@siege-engine.com> wrote:
>>
>> >>> "Henda Carvalho" < henda.for.work@gmail.com> seems to think that:
>> >Hi there,
>> >I'm trying to use the function *semantic-nonterminal-abstract (that
>> should
>> >come with semantic!)*, but i receive an error. The error is:
>> >
>> >Debugger entered--Lisp error: (void-function
>> semantic-nonterminal-abstract)=3D
>> >.
>> >
>> >
>> >
>> >Can somebody help me please.
>>   [ ... ]
>>
>> Hi,
>>
>>   I think you want 'semantic-tag-abstract'.  Semantic 1.4 used
>> 'nonterminal' in a confusing way, and all occurrences that really were
>> referring to 'tags' as were switched to use that name.
>>
>> Eric
>>
>> --
>>           Eric Ludlam:                 zappo@gnu.org,
>> eric@siege-engine.com
>>    Home: http://www.ludlam.net            Siege: www.siege-engine.com
>> Emacs: http://cedet.sourceforge.net               GNU: www.gnu.org
>>
>

--
          Eric Ludlam:                 zappo@gnu.org, eric@siege-engine.com
   Home: http://www.ludlam.net            Siege: www.siege-engine.com
Emacs: http://cedet.sourceforge.net               GNU: www.gnu.org