fix Issue 11365 - Allow D source file names to have no extension (or an arbitrary extension)
Merge pull request #2731 from WalterBright/fix11365

fix Issue 11365 - Allow D source file names to have no extension (or an arbitrary extension)