Mercurial > projects > dang
diff 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 |
line wrap: on
line diff
--- a/sema/ScopeBuilder.d Thu May 08 10:32:41 2008 +0200 +++ b/sema/ScopeBuilder.d Thu May 08 10:54:29 2008 +0200 @@ -100,6 +100,9 @@ table[table.length-1].types["uint"] = DType.UInt; table[table.length-1].types["long"] = DType.Long; table[table.length-1].types["ulong"] = DType.ULong; + table[table.length-1].types["char"] = DType.Char; + table[table.length-1].types["wchar"] = DType.WChar; + table[table.length-1].types["dchar"] = DType.DChar; current().inModule = m; current().mHandle = mHandle;