Re: Parsing Java classes that extends classes with Generics

Lee Hinman <[email protected]> Fri, 16 Oct 2015 08:28:05 -0600
Newsgroups gmane.emacs.cedet
Message-ID <[email protected]>
Eric Ludlam writes:

> On 10/15/2015 05:56 PM, Lee Hinman wrote:
>>
>> Hi Cedet,
>>
>> I've noticed that Semantic parser doesn't seem to be able to handle
>> classes that extend other classes with generic parameters, for example,
>> take this class:
>
> Hi,
>
> The bottom of this thread:
>
> http://sourceforge.net/p/cedet/mailman/message/22980143/
>
> notes that if you do this:
>
> ;; Use the full Java 1.5 grammar to parse Java files
> (autoload 'wisent-java-default-setup "wisent-java"
>     "Hook run to setup Semantic in `java-mode'." nil nil)
>
> it will enble the full parser that handles the generics parsing.
>
> The above line is the old format though.  I think the updated format 
> would be:
>
>
> ;; Use the full Java 1.5 grammar to parse Java files
> (autoload 'wisent-java-default-setup "semantic/wisent/java"
> "Hook run to setup Semantic in `java-mode'." nil nil)
>
>
> I don't use this myself though so not sure other than what is in that 
> thread.

Thanks Eric, that did the trick.

Is there any reason this isn't the default parser?

-- 
;; Lee

------------------------------------------------------------------------------