[antlr-interest] Re: Keywords with whitespaces

Gunnar Wagenknecht <kreismeister at yahoo.de> kreismeister at yahoo.de
Mon Jan 27 13:45:32 PST 2003


--- In antlr-interest at yahoogroups.com, mzukowski at y... wrote:
> Why not handle this in the parser?
> 
> rule: "begin" "sequence" ....;

I'm not sure. ANTLR will add word "begin" _AND_ word "sequence" to 
the table of literals but only the sequence "begin" "sequence" is one 
literal and not both single words.

Cu, Gunnar


 

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



More information about the antlr-interest mailing list