[antlr-interest] ANTLR3 Maven2 plugin, strange errors

Jeroen Steenbeeke jeroen at pbemengine.nl
Thu Jun 26 10:54:01 PDT 2008


> It would possibly be more correct to ask on the Mojo users mailing list,
> but I am subscribed to this list too.
>
> The maven plugin uses ANTLR 3.0.1, as found over here,
>
>   http://repo1.maven.org/maven2/org/antlr/antlr/3.0.1/
>
> I'll try and have a look at the problem.  Would it be possible for you
> to send me the actual grammar?
>
>
> ta,
> dave
>

Unfortunately I'm not at liberty to share the exact grammar, but mine is
derived from the one Dieter Habelitz wrote and posted on the ANTLR site:

http://www.antlr.org/grammar/1207932239307/Java1_5Grammars/Java.g
http://www.antlr.org/grammar/1207932239307/Java1_5Grammars/JavaTreeParser.g

I just tried, and his original tree grammar (so JavaTreeParser.g) has
the exact same problem as my version (which is basically his version
with some added code blocks and rule returns/parameters).

Cheers, Jeroen


More information about the antlr-interest mailing list