[antlr-interest] Missing tokens when using a Selector and Hidden toke filter

Terence Parr parrt at cs.usfca.edu
Fri Mar 26 11:47:02 PST 2004


On Mar 25, 2004, at 6:12 PM, don_bradshaw60 wrote:

> I'm having problems using a TokenStreamSelector with
> TokenStreamHiddenTokenFilter(s).
>
> Every time I switch I loose a token. I don't lose it permanently,
> when I switch back, sometime later, the token that was lost is
> injected back into the stream (at the wrong point ofcourse)
> replacing the one that should have been returned.
>
> This happens every time I switch.
>
> It works fine when switching between TokenStreamBasicFilter(s).
>
> The problem happens regardless of whether I have actually defined
> any tokens to be hidden or not.
>
> Any help would be appreciated.

Hi Don.  Been a while since I've used that sucker.  How does your app 
compare to the hidden filter stuff used with the javadoc example?

Ter
--
Professor Comp. Sci., University of San Francisco
Creator, ANTLR Parser Generator, http://www.antlr.org
Cofounder, http://www.jguru.com
Cofounder, http://www.knowspam.net enjoy email again!
Cofounder, http://www.peerscope.com pure link sharing





 
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