> If you are using another_file from other contexts (or if the above > doesn't work), then you could try defining a throwaway rule in > another_file.g:
> another_start : list EOF; Ah, yeah, I could do this one. I remember either reading about this or doing this before. Today, it didn't occur to me to write code that will never be tested. My code coverage shouldn't suffer too much and I like this better than using a single rule to call into the file every time. The other options won't work because I do use it elsewhere and it doesn't actually end with EOF. (The grammar is broken into 12 files.) Thanks, -JEEP 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 -~----------~----~----~----~------~----~------~--~---
