Skip to content

Commit

Permalink
Merge pull request #426 from adamdruppe/module_bug
Browse files Browse the repository at this point in the history
module name misinformation
  • Loading branch information
9rnsr committed Dec 5, 2013
2 parents 9f98d5b + a3d0499 commit 9d32254
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions module.dd
Expand Up @@ -39,8 +39,9 @@ $(GNAME DeclDef):


$(P Modules have a one-to-one correspondence with source files.
The module name is the file name with the path and extension
stripped off.
The module name is, by default, the file name with the path and
extension stripped off, and can be set explicitly with the module
declaration.
)

$(P Modules automatically provide a namespace scope for their contents.
Expand Down Expand Up @@ -125,8 +126,8 @@ module c.stdio; // module stdio in the c package
---------

$(P By convention, package and module names are all lower case. This is
because those names have a one-to-one correspondence with the operating
system's directory and file names, and many file systems
because those names can have a one-to-one correspondence with the
operating system's directory and file names, and many file systems
are not case sensitive. All lower case package and module names will
minimize problems moving projects between dissimilar file systems.)

Expand Down

0 comments on commit 9d32254

Please sign in to comment.