Mercurial > projects > ddmd
diff dmd/StaticAssert.d @ 13:427f8aa74d28
On the road to make Phobos compilable
author | korDen |
---|---|
date | Mon, 12 Apr 2010 16:29:33 +0400 |
parents | 10317f0c89a5 |
children | 460959608115 |
line wrap: on
line diff
--- a/dmd/StaticAssert.d Mon Apr 12 15:13:00 2010 +0400 +++ b/dmd/StaticAssert.d Mon Apr 12 16:29:33 2010 +0400 @@ -31,7 +31,7 @@ assert(false); } - bool addMember(Scope sc, ScopeDsymbol sd, int memnum) + bool addMember(Scope sc, ScopeDsymbol sd, bool memnum) { return false; // we didn't add anything } @@ -83,7 +83,9 @@ bool oneMember(Dsymbol* ps) { - assert(false); + //printf("StaticAssert.oneMember())\n"); + *ps = null; + return true; } void toObjFile(int multiobj)