see http://www.antlr.org/wiki/pages/viewpage.action?pageId=1802308.
It's not clear to me the connection between the tokens block (and its auto-gen'd code), and this statement in the above URL: "might simply consult an IDictionary<string,int> map of all keywords (incl abbreviations). " The tokens block ends up in a string array named tokenNames (CSharp2 target). My tokens keywords are mixed with other entries related to the grammar definition. Am I supposed to write an initialization routine that builds a dictionary? If so, I have to filter through the auto-gen'd tokenNames making sure to enter only my keywords, otherwise I'll get false hits in my CheckKeywordsTable routine. Somehow, this doesn't seem quite right, ??? Regards, Ben --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
List: http://www.antlr.org:8080/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org:8080/mailman/options/antlr-interest/your-email-address
