[antlr-interest] Losing tokens when using Hidden Stream

starktristan tristan.stark at quipoz.com
Mon Jul 26 00:56:24 PDT 2004


Hi,

I am having problems using the HiddenTokenStream.  It is simple 
enough to implement when you have 1 lexer, but I need several lexers.

Is it possible to have multiple lexers using a HiddenTokenStream?? 
The problem seems to be that my tokens get out of synch when 
switching lexers. i.e. the lookahead of the HiddenTokenStream 
retains a token when switching lexers and uses this token when you 
return to that stream??

Does anyone know what I mean?

T






 
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