Mercurial > projects > ddmd
diff dmd/NegExp.d @ 63:cab4c37afb89
A bunch of implementations
author | korDen |
---|---|
date | Mon, 23 Aug 2010 16:52:24 +0400 |
parents | 10317f0c89a5 |
children | 2e2a5c3f943a |
line wrap: on
line diff
--- a/dmd/NegExp.d Mon Aug 23 03:21:32 2010 +0400 +++ b/dmd/NegExp.d Mon Aug 23 16:52:24 2010 +0400 @@ -10,7 +10,8 @@ import dmd.Scope; import dmd.IRState; import dmd.ArrayTypes; -import dmd.TOK; +import dmd.TOK; +import dmd.Id; import dmd.expression.Neg; @@ -63,7 +64,7 @@ return e; } - Expression interpret(InterState* istate) + Expression interpret(InterState istate) { assert(false); } @@ -80,7 +81,7 @@ Identifier opId() { - assert(false); + return Id.neg; } elem* toElem(IRState* irs)