[antlr-interest] Re: lexical nondeterminism between IDENT & LABEL

Paul J. Lucas pauljlucas at mac.com
Thu Nov 4 09:07:05 PST 2004


On Thu, 4 Nov 2004, John D. Mitchell wrote:

> >>>>> "Paul" == Paul J Lucas <pauljlucas at mac.com> writes:
> [...]
> 
> > 	You make the rule include whitespace:
> 
> > 		... ( (WS)? ':' { $setType( LABEL ); } )
> 
> Hmm... I thought the OP said that the LABEL's could NOT have any WS between
> the ID and the ':'?

	Maybe.  I don't remember.  I'm just going by what a label is in,
	say, C.  The OP is free to delete the "(WS)?"

	- Paul



 
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