[antlr-interest] cannot find tokens file <unset-dir>/file.tokens
iztok.kavkler at fmf.uni-lj.si
Tue May 12 07:16:37 PDT 2009
By default, it will look in the current working directory (which is the
directory from where you started antlr, not the directory of .g file).
To look for .token files in other directories, use "-lib dir" option.
> Hi there;
> I'm getting this error: cannot find tokens file
> <unset-dir>/file.tokens. I 've got the file .tokens in the same
> directory of the my ".g". Where does Antlr look for the file token. Do
> I need to set up enviremont variable ANTLR_home? Because I simply run
> org.antlr.Tool passing the file as an argument.
> Many Thanks,
More information about the antlr-interest