On Tue, Nov 17, 2015 at 8:35 AM, Michael Van Canneyt <
Show quoted text 5 lines
wrote:
Because the 'package' idea does not exist in the compiler.
It is an informal concept. The formal concept are... namespaces.
Yep, that's exactly why it's directory based. Due to a practice of separating packages into a stand alone directory.
It's an idea to resolve the issue by using configuration rather than by changing the (existing/old) source code.
Or is it planned to identify a namespace by it's physical location? (through another configuration setting?)
Jonas Maebe wroteIt would be a special case hack that would not solve the general problem.
E.g., the text mode ide doesn't compile on OS X, because it uses a
"dialogs" unit and there's one in both freevision and univint.
Make the option to be per directory, but also per file? (Something similar to delphi's "uses unit in 'filepath'? but for search directories).
off-topic: In the particular case of IDE for OSX, shouldn't macosall.pas be used? That should eliminate the need of univint/dialogs.pas
thanks,
Dmitry