[antlr-interest] error(106)

Johannes Luber jaluber at gmx.de
Thu Aug 23 03:01:21 PDT 2007


Martin Kohl wrote:
> Hello again,
> 
> I'm currently trying to get a grammar to compile so as to get an
> ExprLexer and ExprParser out of it. The only errors I have left are called
> error(106): Expr.g:Line:Pos: reference to undefined rule: ruleName
> 
> Every time I try to run the grammar, I get the same references, however
> always in a different order. Ie. one time I'll get
> 
...
> 
> I'd appreciate any ideas you guys have as to where this error may stem
> from and what I can do to correct it.
> 
> Many thanks and kind Regards,
> Martin

Without posting your entire grammar it seems unlikely that we can help
you. If the error wasn't posted in the mailing list then it hasn't been
probably encountered before.

Best regards,
Johannes Luber


More information about the antlr-interest mailing list