comparison dmd/Module.d @ 13:427f8aa74d28

On the road to make Phobos compilable
author korDen
date Mon, 12 Apr 2010 16:29:33 +0400
parents 63623152e82a
children 460959608115
comparison
equal deleted inserted replaced
12:832f71e6f96c 13:427f8aa74d28
700 // Add all symbols into module's symbol table 700 // Add all symbols into module's symbol table
701 symtab = new DsymbolTable(); 701 symtab = new DsymbolTable();
702 for (i = 0; i < members.dim; i++) 702 for (i = 0; i < members.dim; i++)
703 { 703 {
704 Dsymbol s = cast(Dsymbol)members.data[i]; 704 Dsymbol s = cast(Dsymbol)members.data[i];
705 s.addMember(null, sc.scopesym, 1); 705 s.addMember(null, sc.scopesym, true);
706 } 706 }
707 707
708 /* Set scope for the symbols so that if we forward reference 708 /* Set scope for the symbols so that if we forward reference
709 * a symbol, it can possibly be resolved on the spot. 709 * a symbol, it can possibly be resolved on the spot.
710 * If this works out well, it can be extended to all modules 710 * If this works out well, it can be extended to all modules