[antlr-interest] lexical nondeterminism between IDENT & LABEL
Paul J. Lucas
pauljlucas at mac.com
Wed Nov 3 11:54:27 PST 2004
On Wed, 3 Nov 2004, Monty Zukowski wrote:
> IDENT
> : ('a'..'z' | 'A'..'Z')
> ('a'..'z' | 'A'..'Z' | '0'..'9')*
> ':' {$setType(LABEL);}
> ;
Shouldn't that be:
IDENT
: ('a'..'z' | 'A'..'Z')
('a'..'z' | 'A'..'Z' | '0'..'9')*
(':' {$setType(LABEL);} )?
;
?
- 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