At 07:27 18/10/2008, Michael Duffy wrote: >"cannot find tokens file <unset-dir>\Expr.tokens >Consult the console for more information." > >The console is empty. I tell ANTLRWorks to write generated files >to a directory /generated, a child of the directory where I store >grammars. The Expr.tokens file is there, along with all the >.java files. > >How do I tell ANTLR the path for finding the tokens file?
If you run ANTLR with no command line options, it'll tell you all the options it supports. Notable among them is -lib, which it specifies as the location to look for token files. (I believe it also looks in the output directory as well, though I'm not sure about that.) 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 -~----------~----~----~----~------~----~------~--~---
