diff sema/ScopeBuilder.d @ 119:c0b531362ca6

Non compileing commit. Work on floating points and casts
author Anders Johnsen <skabet@gmail.com>
date Sun, 25 May 2008 19:13:07 +0200
parents 189c049cbfcc
children ed815b31479b
line wrap: on
line diff
--- a/sema/ScopeBuilder.d	Sun May 25 18:24:16 2008 +0200
+++ b/sema/ScopeBuilder.d	Sun May 25 19:13:07 2008 +0200
@@ -106,6 +106,10 @@
         table[table.length-1].types["wchar"]   = DType.WChar;
         table[table.length-1].types["dchar"]   = DType.DChar;
 
+        table[table.length-1].types["float"]   = DType.Float;
+        table[table.length-1].types["double"]  = DType.Double;
+        table[table.length-1].types["real"]    = DType.Real;
+
         current().inModule = m;
         current().mHandle = mHandle;
         mHandle.add(m);