Mercurial > projects > ldc
changeset 590:1ecb43102d12
Allow VarDecl inside AttributeDecl inside DeclExp.
Fixes run/e/extern_10_D
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Fri, 12 Sep 2008 13:11:32 +0200 |
parents | 7690d7065fa8 |
children | e6bcc4d9e5ff |
files | gen/llvmhelpers.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gen/llvmhelpers.cpp Fri Sep 12 12:48:16 2008 +0200 +++ b/gen/llvmhelpers.cpp Fri Sep 12 13:11:32 2008 +0200 @@ -1216,7 +1216,7 @@ 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