Mercurial > projects > ddmd
diff dmd/IntegerExp.d @ 73:ef02e2e203c2
Updating to dmd2.033
author | korDen |
---|---|
date | Sat, 28 Aug 2010 19:42:41 +0400 |
parents | 2e2a5c3f943a |
children | ceda59b4d255 |
line wrap: on
line diff
--- a/dmd/IntegerExp.d Sat Aug 28 16:19:48 2010 +0200 +++ b/dmd/IntegerExp.d Sat Aug 28 19:42:41 2010 +0400 @@ -22,6 +22,7 @@ import dmd.backend.Util; import core.stdc.ctype : isprint; +import std.stdio; class IntegerExp : Expression { @@ -166,11 +167,16 @@ * the type is painted on like in fromConstInitializer(). */ if (!global.errors) - { + { + printf("ty = %d, %d\n", type.ty, t.ty); + if (type.ty == Tenum) { + printf("test1\n"); + } ///type.print(); assert(0); } break; + } break; }