Re: Semantic cannot recognize tag name of operator "*"

Eric Ludlam <[email protected]> Sun, 01 Mar 2015 09:41:59 -0500
Newsgroups gmane.emacs.cedet
Message-ID <[email protected]>
On 02/19/2015 05:01 AM, Tu Do wrote:
> For example, if I have overload operator "*", Semantic won't recognize
> it as a function, while for other operators it works fine.
>
> For example:
>
> Fixed & operator *(Fixed const & rhs);
>
> Running (semantic-tag-name (semantic-current-tag)) returns an empty string.

I submitted a fix.  When rebuilding a token, the parser strips * off the 
beginning.  So naturally we should skip that step if it is an operator.

Eric

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/