From c234b6d373c1844106031cd56ff8958dcb314324 Mon Sep 17 00:00:00 2001 From: Rainer Schuetze Date: Fri, 22 Apr 2011 14:24:03 +0200 Subject: [PATCH] do not try to output debug information for string enum fields, it is marked as imcomplete anyway. --- src/tocvdebug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tocvdebug.c b/src/tocvdebug.c index 14ad2a7a730a..f4dbd1b4bd8c 100644 --- a/src/tocvdebug.c +++ b/src/tocvdebug.c @@ -145,7 +145,7 @@ unsigned cv4_Denum(EnumDeclaration *e) // Compute the number of fields, and the length of the fieldlist record nfields = 0; fnamelen = 2; - if (e->members) + if (!property) { for (i = 0; i < e->members->dim; i++) { EnumMember *sf = ((Dsymbol *)e->members->data[i])->isEnumMember(); @@ -173,7 +173,7 @@ unsigned cv4_Denum(EnumDeclaration *e) TOWORD(d->data + 2,nfields); // If forward reference, then field list is 0 - if (!e->members) + if (property) { TOWORD(d->data + 6,0); return typidx;