diff src/dil/semantic/Pass2.d @ 821:09a64d96967a

Started the interpreter. Made a couple changes in other parts -- CharExpression now has an IntExpression of a character type as its value member and its type is set accordingly.
author Jarrett Billingsley <jarrett.billingsley@gmail.com>
date Fri, 14 Mar 2008 11:01:05 -0400
parents 525ee3f848d9
children fd52beaaa94a
line wrap: on
line diff
--- a/src/dil/semantic/Pass2.d	Thu Mar 13 18:59:54 2008 +0100
+++ b/src/dil/semantic/Pass2.d	Fri Mar 14 11:01:05 2008 -0400
@@ -377,14 +377,6 @@
 
   E visit(CharExpression e)
   {
-    if (e.type)
-      return e;
-    if (e.character <= 0xFF)
-      e.type = Types.Char;
-    else if (e.character <= 0xFFFF)
-      e.type = Types.Wchar;
-    else
-      e.type = Types.Dchar;
     return e;
   }