From e0635f170743c8e530c4abe8b659976f58bb03cf Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Fri, 12 Sep 2008 13:11:32 +0200 Subject: [PATCH] Allow VarDecl inside AttributeDecl inside DeclExp. Fixes run/e/extern_10_D --- gen/llvmhelpers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen/llvmhelpers.cpp b/gen/llvmhelpers.cpp index ab160838..84e30f44 100644 --- a/gen/llvmhelpers.cpp +++ b/gen/llvmhelpers.cpp @@ -1216,7 +1216,7 @@ DValue* DtoDeclarationExp(Dsymbol* declaration) Logger::println("AttribDeclaration"); for (int i=0; i < a->decl->dim; ++i) { - DtoForceDeclareDsymbol((Dsymbol*)a->decl->data[i]); + DtoDeclarationExp((Dsymbol*)a->decl->data[i]); } } // mixin declaration