From bf4d679e1a9de05b6837dc211382488680b9c71d Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Fri, 7 Jun 2013 19:44:04 +0200 Subject: [PATCH] More trivial upstream alignment. --- dmd2/aggregate.h | 2 -- dmd2/arrayop.c | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/dmd2/aggregate.h b/dmd2/aggregate.h index 620f6f00..df9cae7f 100644 --- a/dmd2/aggregate.h +++ b/dmd2/aggregate.h @@ -217,8 +217,6 @@ struct UnionDeclaration : StructDeclaration UnionDeclaration *isUnionDeclaration() { return this; } }; -// warning: two classes with the same base class share the same -// BaseClass instance. struct BaseClass { Type *type; // (before semantic processing) diff --git a/dmd2/arrayop.c b/dmd2/arrayop.c index bac8391a..17b90dad 100644 --- a/dmd2/arrayop.c +++ b/dmd2/arrayop.c @@ -108,6 +108,7 @@ bool isArrayOpValid(Expression *e) Expression *BinExp::arrayOp(Scope *sc) { + //printf("BinExp::arrayOp() %s\n", toChars()); Type *tb = type->toBasetype(); assert(tb->ty == Tarray || tb->ty == Tsarray);