diff dmd/BoolExp.d @ 36:3012e829306f

bad code translation bugs fixed
author korDen
date Sat, 21 Aug 2010 06:55:28 +0400
parents 10317f0c89a5
children cab4c37afb89
line wrap: on
line diff
--- a/dmd/BoolExp.d	Sat Aug 21 05:51:06 2010 +0400
+++ b/dmd/BoolExp.d	Sat Aug 21 06:55:28 2010 +0400
@@ -17,7 +17,7 @@
 {
 	this(Loc loc, Expression e, Type t)
 	{
-		super(loc, TOK.init, 0, e);
+		super(loc, TOKtobool, BoolExp.sizeof, e);
 		type = t;
 	}