[antlr-interest] Comments / White-Space and All The Rest
Micheal J
open.zone at virgin.net
Fri Nov 24 11:15:53 PST 2006
Hi,
> Place comments on a hidden token channel
> so that the parser does not see them in terms of parsing, but
> actions
> can still access the comments. All non-skipped tokens are sent to
> the parser in the token stream and just by looking backwards and
> forwards in the token stream you can see all of the hidden channel
> tokens.
How to really drop a token (i.e. not just hide using channel no.)?
Micheal
-----------------------
The best way to contact me is via the list/forum. My time is very limited.
More information about the antlr-interest
mailing list