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,


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
-~----------~----~----~----~------~----~------~--~---

Reply via email to