Mercurial > projects > ldc
diff dmd/declaration.c @ 1309:0c03ba6f7c24
Fixed deal breaker bug for more-at-once compilation when any module contained aggregates. Fixes ticket #272 .
author | Tomas Lindquist Olsen <tomas.l.olsen gmail com> |
---|---|
date | Thu, 07 May 2009 02:10:29 +0200 |
parents | e961851fb8be |
children | 78038e540342 |
line wrap: on
line diff
--- a/dmd/declaration.c Wed May 06 20:29:27 2009 +0200 +++ b/dmd/declaration.c Thu May 07 02:10:29 2009 +0200 @@ -624,10 +624,15 @@ canassign = 0; value = NULL; +#if IN_LLVM + aggrIndex = 0; + // LDC anonDecl = NULL; offset2 = 0; + nakedUse = false; +#endif } Dsymbol *VarDeclaration::syntaxCopy(Dsymbol *s)