www.digitalmars.com         C & C++   DMDScript  

D - Module versioning and coexistence for phobos source


I'd like to suggest a versioning convention for source built into Phobos
that might (temporarily or permanently) also need to be built for another
module structure, as follows:

// from recls.d

  module std.io.recls;
  module recls;

Naturally this will require an update to the compiler, since it currently
balks on this with

    dmd -c -version=Windows -I. -release -inline recls.d -ofrecls.obj
    recls.d(66): Declaration expected, not 'module'
    recls.d(70): Declaration expected, not 'module'
Nov 05 2003