Mercurial > projects > ddmd
view dmd/expression/Com.d @ 182:b64060ab22df
Now compileable with dmd2.050
author | korDen |
---|---|
date | Sat, 30 Oct 2010 05:05:32 +0400 |
parents | e28b18c23469 |
children |
line wrap: on
line source
module dmd.expression.Com; import dmd.common; import dmd.Expression; import dmd.Type; import dmd.IntegerExp; import dmd.Loc; Expression Com(Type type, Expression e1) { Loc loc = e1.loc; return new IntegerExp(loc, ~e1.toInteger(), type); }