[antlr-interest] How to put back a token read by lexer

Sinan sinan.karasu at boeing.com
Thu Oct 25 16:42:12 PDT 2001


Matthew Ford wrote:
> 
> You want to be careful about pushing back tokens because of Antlr's
> lookahead.
> Use the lookahead instead.
> matthew
> ----- Original Message -----
> From: "bob mcwhirter" <bob at werken.com>
> To: <antlr-interest at yahoogroups.com>
> Sent: Friday, October 26, 2001 9:11 AM
> Subject: Re: [antlr-interest] How to put back a token read by lexer
> 

This is correct. Most people when they want to do push tokens, are
actually still "lex/flex"'ing.

Got to change your way of thinking....

Sinan

 

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



More information about the antlr-interest mailing list