Thanks a lot for ur help;

I'm using eclipse I did run a configuration of org.antlr.Tool passing
as an argument ${file_prompt} and "-lib dir" <my .g directory>, didn't
work.

I ' ve also tried to put the token in the same directory then Tool, in
vain. So I've debug source code till i found where it does set the
name of the file .Token; I changed some code there and it works now.

Seems that there is a bug, when you don't specify  "-lib dir" option,
Seems that the name file that the source code compose is not correct.
Were u able to run it?

 cheers



2009/5/12 Iztok Kavkler <iztok.kavk...@fmf.uni-lj.si>:
> 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,
>
>



-- 
Marouane

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 il-antlr-interest@googlegroups.com
To unsubscribe from this group, send email to 
il-antlr-interest+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to