[antlr-interest] Cannot Find Eval.tokens File
Gavin Lambert
antlr at mirality.co.nz
Fri Oct 17 13:37:11 PDT 2008
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.)
More information about the antlr-interest
mailing list