[antlr-interest] greedy/non-greedy problem.

Bharath bharath at starthis.com
Tue May 18 09:03:36 PDT 2004


Hi John,

I replaced it with IDENT DOT IDENT DOT (IDENT (DOT IDENT)*)? And it worked.
Thanks for your post, though!

Bharath.

-----Original Message-----
From: John B. Brodie [mailto:jbb at cfl.rr.com] On Behalf Of jbb at acm.org
Sent: Tuesday, May 18, 2004 9:59 AM
To: antlr-interest at yahoogroups.com
Subject: Re: [antlr-interest] greedy/non-greedy problem.

Bharath :-

Does changing your myParserRule to be

myParserRule: IDENT DOT IDENT ( DOT IDENT )+ ;

help any?

Don't know answers your questions regarding the greedy option, sorry.

	-jbb


 
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