At 00:33 11/11/2008, Hendrik Maryns wrote:
>error(211): fsqTreeParser.g:68:3: [fatal] rule body has
non-LL(*)
>decision due to recursive rule invocations reachable from alts
>3,5. Resolve by left-factoring or using syntactic predicates or
>using backtrack=true option.
[...]
>body returns [Formula result]
> : label { $result = $label.result; }
> | atomic { $result = $atomic.result; }
> | unary { $result = $unary.result; }
> | binary { $result = $binary.result; }
> | n_ary { $result = $n_ary.result; }
> | quantor { $result = $quantor.result; }
> ;
>
>Indeed, the unary, binary, n_ary and quantor rules (indirectly)
>refer to formula:
It's unlikely that this would be the problem, or at least not
directly. It's more likely an issue with your AST structure being
too ambiguous.
Can you post your unary, binary, and n_ary rules (and any subrules
they refer to)?
List: http://www.antlr.org:8080/mailman/listinfo/antlr-interest
Unsubscribe:
http://www.antlr.org:8080/mailman/options/antlr-interest/your-email-address
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---