[Issue 11365] Allow D source file names to have no extension (or an	arbitrary extension)
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Sat Nov  9 11:18:28 PST 2013
    
    
  
https://d.puremagic.com/issues/show_bug.cgi?id=11365
--- Comment #19 from Walter Bright <bugzilla at digitalmars.com> 2013-11-09 11:18:25 PST ---
Some points:
1. dmd foo
will compile 'foo.d' and create 'foo.exe' on Windows. So if 'foo' is allowed to
be a D source file, this works fine. But on Linux, compiling source code 'foo'
and creating executable file 'foo' will overwrite the source file. You'll have
to specify -of, too.
2. If you wish to name a script file 'foo.bar', D uses the file name as the
module identifier. D does not allow non-identifier characters in the module
identifier. This means you cannot also have scripts named '7foo(!)%^bar'
either.
-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
    
    
More information about the Digitalmars-d-bugs
mailing list