comparison dmd/StructDeclaration.d @ 89:37b95c347975

Fixed an obscure bug with i variable being reused
author korDen
date Mon, 30 Aug 2010 23:25:50 +0400
parents 23280d154c5b
children ae5b11064a9a
comparison
equal deleted inserted replaced
88:23280d154c5b 89:37b95c347975
94 return sd; 94 return sd;
95 } 95 }
96 96
97 override void semantic(Scope sc) 97 override void semantic(Scope sc)
98 { 98 {
99 int i;
100 Scope sc2; 99 Scope sc2;
101 100
102 //printf("+StructDeclaration.semantic(this=%p, '%s')\n", this, toChars()); 101 //printf("+StructDeclaration.semantic(this=%p, '%s')\n", this, toChars());
103 102
104 //static int count; if (++count == 20) *(char*)0=0; 103 //static int count; if (++count == 20) *(char*)0=0;