comparison dmd/attrib.c @ 19:788401029ecf trunk

[svn r23] * Updated to DMD 1.021
author lindquist
date Thu, 04 Oct 2007 03:42:56 +0200
parents c53b6e3fe49a
children 0ccfae271c45
comparison
equal deleted inserted replaced
18:c05ef76f1c20 19:788401029ecf
188 188
189 s = (Dsymbol *)d->data[i]; 189 s = (Dsymbol *)d->data[i];
190 s->toObjFile(); 190 s->toObjFile();
191 } 191 }
192 } 192 }
193 }
194
195 int AttribDeclaration::cvMember(unsigned char *p)
196 {
197 unsigned i;
198 int nwritten = 0;
199 int n;
200 Array *d = include(NULL, NULL);
201
202 if (d)
203 {
204 for (i = 0; i < d->dim; i++)
205 { Dsymbol *s;
206
207 s = (Dsymbol *)d->data[i];
208 n = s->cvMember(p);
209 if (p)
210 p += n;
211 nwritten += n;
212 }
213 }
214 return nwritten;
193 } 215 }
194 216
195 int AttribDeclaration::hasPointers() 217 int AttribDeclaration::hasPointers()
196 { 218 {
197 Array *d = include(NULL, NULL); 219 Array *d = include(NULL, NULL);