[antlr-interest] Optional Tree path not followed

Monty Zukowski monty at codetransform.com
Sat Jan 22 10:53:12 PST 2005


On Jan 22, 2005, at 4:47 AM, Anakreon wrote:
>
> What should I do to investigate if this happens because of action code 
> or
> it is a bug in the code generated from antlr?
>
>

First I would print the tree there as you enter, and turn on 
-traceTreeParser to see what is really going on.  From your description 
it seems that the ARGLIST_VALUES part of the tree isn't there.

Monty

ANTLR & Java Consultant -- http://www.codetransform.com
ANSI C/GCC transformation toolkit -- 
http://www.codetransform.com/gcc.html
Embrace the Decay -- http://www.codetransform.com/EmbraceDecay.html



More information about the antlr-interest mailing list