[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gforth] 'require' and paths
From: |
Marcos Cruz |
Subject: |
Re: [gforth] 'require' and paths |
Date: |
Mon, 22 Jul 2013 02:05:40 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
En/Je/On 2013-07-21 22:41, Bernd Paysan escribió / skribis / wrote :
> > file2.fs would be included twice because
> > the paths are different in both cases.
> AFAIK, we record the corrected path so this doesn't happen. Have
> you actually tried? I did, this works both with Gforth 0.7.2 and the current
> development release.
You are right, Bernd. The other day I did several tries, with different
combinations of paths in both levels (program and library), after
confirming the manual info. Some libraries were included twice. Then I
searched the sources, discovered 'included?' and '.included' and used
them in order to find out the problem, and concluded the included files
are stored with the same path received by 'required', what seemed the
problem. It seems I did something wrong and got confused. I'll revise
the tests.
Thank you.
Marcos
--
http://programandala.net