comparison dmd/StructDeclaration.d @ 169:e7769d53e750

Moves static variables from Module to Global
author korDen
date Thu, 30 Sep 2010 13:29:54 +0400
parents 14feb7ae01a6
children fa9a71a9f5a8
comparison
equal deleted inserted replaced
168:ceed63f310fb 169:e7769d53e750
387 // This will ensure that arrays of structs will get their internals 387 // This will ensure that arrays of structs will get their internals
388 // aligned properly. 388 // aligned properly.
389 structsize = (structsize + alignsize - 1) & ~(alignsize - 1); 389 structsize = (structsize + alignsize - 1) & ~(alignsize - 1);
390 390
391 sizeok = 1; 391 sizeok = 1;
392 Module.dprogress++; 392 global.dprogress++;
393 393
394 //printf("-StructDeclaration.semantic(this=%p, '%s')\n", this, toChars()); 394 //printf("-StructDeclaration.semantic(this=%p, '%s')\n", this, toChars());
395 395
396 // Determine if struct is all zeros or not 396 // Determine if struct is all zeros or not
397 zeroInit = true; 397 zeroInit = true;