comparison dmd/TemplateInstance.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
456 paramscope.pop(); 456 paramscope.pop();
457 457
458 // Add members of template instance to template instance symbol table 458 // Add members of template instance to template instance symbol table
459 // parent = scope.scopesym; 459 // parent = scope.scopesym;
460 symtab = new DsymbolTable(); 460 symtab = new DsymbolTable();
461 int memnum = 0; 461 bool memnum = false;
462 for (int i = 0; i < members.dim; i++) 462 for (int i = 0; i < members.dim; i++)
463 { 463 {
464 Dsymbol s = cast(Dsymbol)members.data[i]; 464 Dsymbol s = cast(Dsymbol)members.data[i];
465 version (LOG) { 465 version (LOG) {
466 printf("\t[%d] adding member '%s' %p kind %s to '%s', memnum = %d\n", i, s.toChars(), s, s.kind(), this.toChars(), memnum); 466 printf("\t[%d] adding member '%s' %p kind %s to '%s', memnum = %d\n", i, s.toChars(), s, s.kind(), this.toChars(), memnum);