Please see the example C parser in the C subdirectory of the downloadable 
examples tar on the download page. It implements the include statement simply 
but shows how to use stacked input streams which are built in to the v3 C 
target.

Jim


> -----Original Message-----
> From: [email protected] [mailto:antlr-interest-
> [email protected]] On Behalf Of Ìèõàèë Þðóøêèí
> Sent: Thursday, March 25, 2010 11:02 AM
> To: [email protected]
> Subject: [antlr-interest] [C target] How to create preprocessor?
> 
>  Good day,
> 
> I want to parse 'include stmt'. I have found good article for old
> antlr.
> http://www.ibm.com/developerworks/aix/library/au-
> c_plusplus_antlr/index.html.
> 
> But I work with Antlr 3, C target. And I haven't found any interface
> like
> TokenStreamSelector..
> 
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-
> email-address




List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

-- 
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to