[antlr-interest] Re: protected weakness?
idontwantanidwith2000init
idontwantanidwith2000init at yahoo.com
Fri Apr 9 15:56:41 PDT 2004
--- In antlr-interest at yahoogroups.com, "idontwantanidwith2000init"
<idontwantanidwith2000init at y...> wrote:
> consider this: (taken from the faq}
>
> ID_OR_NUM : DIGITS (ID {$setType(ID);} | {$setType(NUMBER);}) ;
>
> where ID and NUMBER are protected...
>
> will the parser get ID or NUMBER?
I've ment ID_OR_NUM or (ID | NUMBER)
it looks like a backdoor to the protected.
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