[antlr-interest] Skipping irrelevant tokens in a source file

Rodrigo B. de Oliveira rbo at acm.org
Tue Aug 19 09:22:24 PDT 2003


http://www.antlr.org/doc/lexer.html#Filtering%20Input%20Streams

----- Original Message ----- 
From: <dm at cs.yorku.ca>
To: <antlr-interest at yahoogroups.com>
Sent: Tuesday, August 19, 2003 12:45 PM
Subject: [antlr-interest] Skipping irrelevant tokens in a source file


> Hi:
>
> What is the easiest way to ignore sections of a source file?
>
> Say I have a language and all I am interested in, is the text between the
token
> "feature" and the token "end".
>
> How do I allow anything before feature and after end?
>
> Thanks in advance,
>
> Dave Makalsky
>
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>


 

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




More information about the antlr-interest mailing list