Mercurial > projects > ddmd
diff dmd/CallExp.d @ 66:efb1e5bdf63c
more implementations
author | korDen |
---|---|
date | Mon, 23 Aug 2010 20:38:30 +0400 |
parents | 4290d870944a |
children | 2e2a5c3f943a |
line wrap: on
line diff
--- a/dmd/CallExp.d Mon Aug 23 20:29:38 2010 +0400 +++ b/dmd/CallExp.d Mon Aug 23 20:38:30 2010 +0400 @@ -100,9 +100,15 @@ } this(Loc loc, Expression e, Expression earg1, Expression earg2) - { - assert(false); - super(loc, TOK.init, 0, e); + { + super(loc, TOK.TOKcall, CallExp.sizeof, e); + + Expressions arguments = new Expressions(); + arguments.setDim(2); + arguments.data[0] = cast(void*)earg1; + arguments.data[1] = cast(void*)earg2; + + this.arguments = arguments; } Expression syntaxCopy()