diff trunk/src/dil/CompilerInfo.d @ 786:3b34f6a95a27

Added and revised documenation comments.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Sun, 24 Feb 2008 02:41:11 +0100
parents d050e211402b
children a7320b7cb7dc
line wrap: on
line diff
--- a/trunk/src/dil/CompilerInfo.d	Sat Feb 23 21:15:56 2008 +0100
+++ b/trunk/src/dil/CompilerInfo.d	Sun Feb 24 02:41:11 2008 +0100
@@ -32,7 +32,7 @@
 const VERSION = FormatT!("%s.%s", VERSION_MAJOR, Pad!(VERSION_MINOR, 3));
 const VENDOR = "dil";
 
-/// Used in main help message.
+/// Used in the main help message.
 const COMPILED_WITH = __VENDOR__;
 /// ditto
 const COMPILED_VERSION = FormatT!("%s.%s", __VERSION__/1000, Pad!(__VERSION__%1000, 3));
@@ -42,11 +42,11 @@
 /// The global, default alignment size for struct fields.
 const DEFAULT_ALIGN_SIZE = 4;
 
+version(DDoc)
+  const PTR_SIZE = 0; /// The pointer size depending on the platform.
+else
 version(X86_64)
-{
   const PTR_SIZE = 8; /// Pointer size on 64-bit platforms.
-}
 else
-{
   const PTR_SIZE = 4; /// Pointer size on 32-bit platforms.
-}
+