Re: [CEDET-devel] semanticdb-javap not working
Brought to you by:
zappo
From: Eric M. L. <eri...@gm...> - 2011-12-03 03:14:06
|
On 11/28/2011 03:02 AM, Joel Borggren-Franck wrote: > I finally figured this out. I've been using Java 7 syntax: > > > java.util.List<Test2> ff = new java.util.LinkedList<>(); > > ff. > ^^ > > If I remove the empty diamond on the right hand side (or replace it > with<Test2>) completion works. > > So, now I just have to update cedet to Java 7 :) I'm glad you solved your puzzle. There are two java parsers. One is for creating just java tags. The other broader parser is a full parser for Java that handles some of the other syntax better. The full parser can be a little slower, and is a little less robust to code errors, so the tagging parser is the default. You can use the new parser by easily enough. I think the switch is as easy as removing the autoload tag from wisent-java-default-setup in wisent-java-tags.el, and adding it into wisent-java.el for the same function, and doing a full rebuild to change which file is used. If that doesn't solve the above, then that would be the best place to put your Java 7 upgrades. :) If you do try to make broad changes to CEDET, you will need to provide papers assigning copyright to the FSF. If you want to do that, let me know and I'll forward the papers to you. Eric |