Mercurial > projects > ddmd
view dmd/expression/And.d @ 132:c494af1dba80
Fixes for dmd 2.037
author | Eldar Insafutdinov <e.insafutdinov@gmail.com> |
---|---|
date | Fri, 10 Sep 2010 19:14:09 +0100 |
parents | e28b18c23469 |
children |
line wrap: on
line source
module dmd.expression.And; import dmd.common; import dmd.Expression; import dmd.Type; import dmd.IntegerExp; Expression And(Type type, Expression e1, Expression e2) { return new IntegerExp(e1.loc, e1.toInteger() & e2.toInteger(), type); }