# HG changeset patch # User korDen # Date 1282359328 -14400 # Node ID 3012e829306ff2bb22966ad5b7cd43547187eaf2 # Parent 69494b249aceb33823a1b922f3841085b75c3438 bad code translation bugs fixed diff -r 69494b249ace -r 3012e829306f dmd/BoolExp.d --- 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; } diff -r 69494b249ace -r 3012e829306f dmd/TupleExp.d --- a/dmd/TupleExp.d Sat Aug 21 05:51:06 2010 +0400 +++ b/dmd/TupleExp.d Sat Aug 21 06:55:28 2010 +0400 @@ -74,14 +74,15 @@ this(Loc loc, Expressions exps) { - super(Loc(0), TOK.init, this.sizeof); + super(loc, TOKtuple, TupleExp.sizeof); + this.exps = exps; this.type = null; } this(Loc loc, TupleDeclaration tup) { - super(Loc(0), TOK.init, this.sizeof); + super(loc, TOKtuple, TupleExp.sizeof); exps = new Expressions(); type = null;