comparison 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
comparison
equal deleted inserted replaced
118:54585ad7e426 119:c0b531362ca6
104 table[table.length-1].types["ulong"] = DType.ULong; 104 table[table.length-1].types["ulong"] = DType.ULong;
105 table[table.length-1].types["char"] = DType.Char; 105 table[table.length-1].types["char"] = DType.Char;
106 table[table.length-1].types["wchar"] = DType.WChar; 106 table[table.length-1].types["wchar"] = DType.WChar;
107 table[table.length-1].types["dchar"] = DType.DChar; 107 table[table.length-1].types["dchar"] = DType.DChar;
108 108
109 table[table.length-1].types["float"] = DType.Float;
110 table[table.length-1].types["double"] = DType.Double;
111 table[table.length-1].types["real"] = DType.Real;
112
109 current().inModule = m; 113 current().inModule = m;
110 current().mHandle = mHandle; 114 current().mHandle = mHandle;
111 mHandle.add(m); 115 mHandle.add(m);
112 m.env = current(); 116 m.env = current();
113 super.visitModule(m); 117 super.visitModule(m);