Mercurial > projects > dang
comparison sema/ScopeBuilder.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 | cd066f3b539a |
children | 189c049cbfcc |
comparison
equal
deleted
inserted
replaced
102:cd066f3b539a | 103:09b4d74cb3f5 |
---|---|
98 table[table.length-1].types["ushort"] = DType.UShort; | 98 table[table.length-1].types["ushort"] = DType.UShort; |
99 table[table.length-1].types["int"] = DType.Int; | 99 table[table.length-1].types["int"] = DType.Int; |
100 table[table.length-1].types["uint"] = DType.UInt; | 100 table[table.length-1].types["uint"] = DType.UInt; |
101 table[table.length-1].types["long"] = DType.Long; | 101 table[table.length-1].types["long"] = DType.Long; |
102 table[table.length-1].types["ulong"] = DType.ULong; | 102 table[table.length-1].types["ulong"] = DType.ULong; |
103 table[table.length-1].types["char"] = DType.Char; | |
104 table[table.length-1].types["wchar"] = DType.WChar; | |
105 table[table.length-1].types["dchar"] = DType.DChar; | |
103 | 106 |
104 current().inModule = m; | 107 current().inModule = m; |
105 current().mHandle = mHandle; | 108 current().mHandle = mHandle; |
106 mHandle.add(m); | 109 mHandle.add(m); |
107 m.env = current(); | 110 m.env = current(); |