DMD 2.032 Merge.

This commit is contained in:
Robert Clipsham
2009-09-08 10:07:56 +01:00
parent 8b6f11938a
commit 089e792258
38 changed files with 1732 additions and 586 deletions

View File

@@ -732,7 +732,11 @@ LLConstant* DtoDefineClassInfo(ClassDeclaration* cd)
// class name
// code from dmd
#if DMDV2
const char *name = cd->ident->toChars();
#else
char *name = cd->ident->toChars();
#endif
size_t namelen = strlen(name);
if (!(namelen > 9 && memcmp(name, "TypeInfo_", 9) == 0))
{