[antlr-interest] Bug in AntlrWorks 1.4.2

Terence Parr parrt at cs.usfca.edu
Mon Feb 28 13:58:35 PST 2011


Hi. Can we have a simple example? I'm not sure I understand exactly. do you mean that the left recursion is not removed during refactoring? I may have solved that problem for the next release of ANTLR  because it automatically removes me left recursion without you having to change grammar :)

Ter
On Feb 28, 2011, at 4:18 AM, Douglas Godfrey wrote:

> A set of rules have mutual left recursion.
> 
> The rules are all copied into one contiguous set in one place in the grammar
> file so they can be refactored.
> 
> The original rules are all commented out using /* */.
> 
> AntlrWorks reports the mutual recursion errors for the original [commented
> out] rules and not for the effective rules.
> 
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address



More information about the antlr-interest mailing list