On Oct 21, 2008, at 3:12 AM, [EMAIL PROTECTED] wrote:

>
> Hello,
>
> I'd like to further process some of ANTLR's output (e.g. the  
> contents of the .tokens file).
>
> Would it be possible to submit a string template to ANTLR that is  
> called during the generation process ?

Not at this time. Unfortunately also this one in particular is hard to  
alter! I hardcoded the template inside CodeGenerator. doh!

        protected final static String vocabFilePattern =
                "<tokens:{<attr.name>=<attr.type>\n}>" +
                "<literals:{<attr.name>=<attr.type>\n}>";

Ter

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to