[antlr-interest] Can't find template ruleRefBang.st
Jim Idle
jimi at temporal-wave.com
Mon Jul 14 07:55:35 PDT 2008
On Tue, 2008-07-15 at 00:27 +1200, Gavin Lambert wrote:
> At 23:37 14/07/2008, Guy Kroizman wrote:
> >I am trying to convert the Fortran77 grammar so I could use it
> >with ANTLR 3.
> >I get the following error:
> >
> >kroiz at kroiz-desktop:~/Desktop/Fortran$ java org.antlr.Tool
> >Fortran77.g
> >error(10): internal error: Fortran77.g :
> >java.lang.IllegalArgumentException: Can't find template
> >ruleRefBang.st
>
> IIRC, this has something to do with mixing tree construction
> syntax illegally, most likely trying to use a ! in a rule that
> already has a -> rewrite.
>
> (Yeah, I know, it's not the best error message in the world.)
>
It is much better in ANTLR 3.1 :-)
Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080714/5c39067e/attachment.html
More information about the antlr-interest
mailing list