[antlr-interest] Re: Problem with x: (A)(B)? ;

Jason jasonriz at yahoo.com
Wed Feb 25 13:58:04 PST 2004


> startRule :
>       (x:A(B)? 
>       |b:B  
>       |eof:EOF 
>       );

I'm a little confused; do you think that the above
should match more than one 'A' optionally followed by
a 'B'?  Wouldn't that be:

startRule : (A)+(B)? } B } EOF;

__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools


 
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