diff sema/DType.d @ 103:09b4d74cb3f5 new_gen

Parsing char, wchar and dchar as basic types.
author Anders Johnsen <skabet@gmail.com>
date Thu, 08 May 2008 10:54:29 +0200
parents 438e6ed4cda1
children 189c049cbfcc
line wrap: on
line diff
--- a/sema/DType.d	Thu May 08 10:32:41 2008 +0200
+++ b/sema/DType.d	Thu May 08 10:54:29 2008 +0200
@@ -121,7 +121,8 @@
     static DInteger
         Bool,
         Byte, UByte, Short, UShort,
-        Int, UInt, Long, ULong;
+        Int, UInt, Long, ULong,
+        Char, WChar, DChar;
 
     static DType Void;
 
@@ -138,6 +139,9 @@
         UInt   = new DInteger("uint",   32, true);
         Long   = new DInteger("long",   64, false);
         ULong  = new DInteger("ulong",  64, true);
+        Char   = new DInteger("char",    8, true);
+        WChar  = new DInteger("wchar",  16, true);
+        DChar  = new DInteger("dchar",  32, true);
     }
 }