[antlr-interest] Can't find template ruleRefBang.st
Gavin Lambert
antlr at mirality.co.nz
Mon Jul 14 05:27:31 PDT 2008
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.)
More information about the antlr-interest
mailing list