[antlr-interest] Error in generating tree walk
Gavin Lambert
antlr at mirality.co.nz
Fri Oct 19 01:46:55 PDT 2007
At 18:03 19/10/2007, Peizhao Hu wrote:
>Could anyone tell me what is the following error message about?
>I checked the parser and tree grammar without any error or
warning
>message.
>
>Not sure about the ruleRefRuleRoot.st??
>
>
>[15:00:24] error(10): internal error:
>/Users/phu/programming/Autonomic_CMS_Repository/antlr-grammars/TEDS
>templateWalker.g
>: java.lang.IllegalArgumentException: Can't find template
>ruleRefRuleRoot.st
Usually these kinds of errors occur when you've got some kind of
illegal syntax in your grammar.
I *think* this one is where you've mixed an AST rewrite with a
^-flagged left half. (Or possibly it's the one where a rewrite is
mixed with a !, but I think that one mentioned a different
template.)
More information about the antlr-interest
mailing list