Dsymbol *ScopeDsymbol::syntaxCopy(Dsymbol *s) { //printf("ScopeDsymbol::syntaxCopy('%s')\n", toChars()); ScopeDsymbol *sds = s ? (ScopeDsymbol *)s : new ScopeDsymbol(ident); sds->members = arraySyntaxCopy(members); return sds; }
Dsymbol *ScopeDsymbol::syntaxCopy(Dsymbol *s) { //printf("ScopeDsymbol::syntaxCopy('%s')\n", toChars()); ScopeDsymbol *sd; if (s) sd = (ScopeDsymbol *)s; else sd = new ScopeDsymbol(ident); sd->members = arraySyntaxCopy(members); return sd; }