[antlr-interest] syntactic predicates question

Jim O'Connor Jim.OConnor at microfocus.com
Tue Apr 8 12:03:18 PDT 2003


Yes, that works!  I would not have thought of that.  That just makes my day.


-----Original Message-----
From: jbb at acm.org [mailto:jbb at acm.org]
Sent: Tuesday, April 08, 2003 2:48 PM
To: antlr-interest at yahoogroups.com
Subject: Re: [antlr-interest] syntactic predicates question


Instead of 

cntlStatement :
	CNTL
	(statement)+
	DSLASH (JCLNAME)? ( ENDCNTL )
    ;

How about

cntlStatement :
	CNTL
	DSLASH (JCLNAME)? ( operation DSLASH (JCLNAME)? )+
        ENDCNTL
    ;

 

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


 

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




More information about the antlr-interest mailing list