Re: Yay for me, found an interpreter bug!
- Posted by Irv Mullins <irvm at ellijay.com> Nov 02, 2003
- 541 views
On Sunday 02 November 2003 12:22 pm, you wrote: > > > Sorry for all who have tested this, I didn't test it before posting. > I meant slash instead of backslash. > > So: > > include namespacebugtest.e as TEST1 > include ./namespacebugtest.e as TEST2 > include ././namespacebugtest.e as TEST3 > include ./././namespacebugtest.e as TEST4 > > It works on both eu 2.3 and eu 2.4. Unfortunately, this doesn't work on Linux. Neither does copying the file into a separate directory. Nor does putting quotes around the include names help any. The only thing that works is changing the filename or extension. This, to me, is a significant bug. There is no reason files test1.e and /anotherdir/test1.e should be treated as the same file. Perhaps they are completely different. Perhaps they are two completely different libraries written by two different people, but I want to utilize both in my program. Preferably without further confusing the issue by changing the names of other peoples' work. -- test1.e (and test1.x) contains: global atom x x = 0 -- end of test1.e -- here's the main program; include test1.e as one include ./test1.e as two include ./anotherdir/test1.e as three include ./anotherdir/test1.x as four one:x = 1 two:x = 2 three:x = 3 four:x = 4 ? one:x ? two:x ? three:x ? four:x -- Results: 3 3 3 4 So much for 'namespacing'. Irv