I am new to antlr. Could you give me an simple example or describe it in more details? Thanks! Jim Idle wrote: > On Fri, 2008-09-12 at 14:16 -0400, Yixun Liu wrote: >> Hi, >> In my source code I need to include a header file which cannot pass antlr. >> #include <filename.h> >> I want to make antlr be silent to this include file. How to do it? >> > > > Follow the example projects and don't try to include that file in the > ANTLR generated code. You have an include file for your project files > that includes the generated YourProjectParser.h and then your project > specific includes. Other than that, consult the C API documentation > about the @sections > > Jim > > >> Thanks. >> >> Yixun >> >> List: http://www.antlr.org:8080/mailman/listinfo/antlr-interest >> Unsubscribe: >> http://www.antlr.org:8080/mailman/options/antlr-interest/your-email-address >> >>
List: http://www.antlr.org:8080/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org:8080/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 -~----------~----~----~----~------~----~------~--~---
