Mercurial > projects > ddmd
comparison 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 |
comparison
equal
deleted
inserted
replaced
12:832f71e6f96c | 13:427f8aa74d28 |
---|---|
29 Dsymbol syntaxCopy(Dsymbol s) | 29 Dsymbol syntaxCopy(Dsymbol s) |
30 { | 30 { |
31 assert(false); | 31 assert(false); |
32 } | 32 } |
33 | 33 |
34 bool addMember(Scope sc, ScopeDsymbol sd, int memnum) | 34 bool addMember(Scope sc, ScopeDsymbol sd, bool memnum) |
35 { | 35 { |
36 return false; // we didn't add anything | 36 return false; // we didn't add anything |
37 } | 37 } |
38 | 38 |
39 void semantic(Scope sc) | 39 void semantic(Scope sc) |
81 assert(false); | 81 assert(false); |
82 } | 82 } |
83 | 83 |
84 bool oneMember(Dsymbol* ps) | 84 bool oneMember(Dsymbol* ps) |
85 { | 85 { |
86 assert(false); | 86 //printf("StaticAssert.oneMember())\n"); |
87 *ps = null; | |
88 return true; | |
87 } | 89 } |
88 | 90 |
89 void toObjFile(int multiobj) | 91 void toObjFile(int multiobj) |
90 { | 92 { |
91 assert(false); | 93 assert(false); |