[antlr-interest] Tree structure

Anakreon anakreonmejdi at yahoo.gr
Thu Sep 30 13:48:15 PDT 2004


> priVal! : INT
> 
> {
> 
> #priVal = #([INT,"-15"]);
This is a problem I have faced many times.
The workaround for this is:
int intType = INT;
#priVal = #([intType, "-15"]);

If this behaver is a feature of Antlr, I wish it's removed.
Anakreon


 
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