[antlr-interest] ParseTreeBuilder broken in decisions (with fix)

Adrian Sandor aditsu at yahoo.com
Sun May 18 12:23:26 PDT 2008


Martin Probst writes:

> the ParseTreeBuilder included in ANTLR 3 does not respect decision
> contexts - if the parser enters decision mode during parsing multiple
> times, this breaks the parse tree construction.
> 
> The fix is to keep track of the decision nesting depth

Hi, I don't know if this was related to my previous message, but it does solve
my main problem. Thank you very much!

Adrian




More information about the antlr-interest mailing list