loadpath / vs \

Aleksa Todorovic <[email protected]>
Newsgroups gmane.comp.lang.eiffel.smalleiffel
Organization Mindnever CreativeMinds
Message-ID <[email protected]>
Hi, SE team!

I've just started rewriting my game in SmartEiffel (originally written
in Delphi for Pascal Game Development Competition -
http://www.pgd.netstarweb.com/index.php), and hit problem with
loadpath.se!

The problem is that I have to use \ in my paths (since it's under
Windows). Now, my clusters so far are:

        sodomaLite: "./loadpath.se"
                end

        grom: "..\grom\loadpath.se"
                end

        system: "${path_lib}/loadpath.se"
                end

With this configuration, everything works fine. Now, when I write

        grom: "../grom/loadpath.se"

compiler reports:

[...]
Unable to find file for class "GROM".
Eiffel class file searching is being done according to the ACE file "sodomaLite.ace".
[...]
cluster 7:
   sodomaLite:"C:\alexa\mindnever\sodomaLite\develop\source.se\sodomaLite"
   default assertion (require)
cluster 8:
   grom:"C:\alexa\mindnever\sodomaLite\develop\source.se\sodomaLite"
   default assertion (require)
[...]

As you can see, compiler does not correctly process this path. Is this
a (not so nice:) feature, or should I fill a bug-report?


Just to greet SE team for SmartEiffel and Brian Win Yan for Rainbow:)

Best regards
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.