[antlr-interest] Not generating parts of AST (argh!)

Monty Zukowski monty at codetransform.com
Sun Oct 24 15:34:31 PDT 2004


Try -traceParser when you run antlr.tool.  What tree is mulExpr 
returninng?

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

On Oct 24, 2004, at 10:43 AM, Paul J. Lucas wrote:

>
> 	As part of my grammar, I have:
>
> 		additiveExpr
> 		    : mulExpr ( (PLUS^ | MINUS^) mulExpr )*
> 		    ;
>
> 	The children of '+' are always null.  Why?  (This is driving me
> 	nuts!)
>
> 	- Paul
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
    antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 





More information about the antlr-interest mailing list