Mercurial > projects > ldc
diff dmd/staticassert.c @ 562:1ada9c6865df
Automated merge with http://hg.dsource.org/projects/llvmdc
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 30 Aug 2008 10:31:04 +0200 |
parents | d4e95db0e62b |
children | 8026319762be |
line wrap: on
line diff
--- a/dmd/staticassert.c Fri Aug 29 16:35:46 2008 +0200 +++ b/dmd/staticassert.c Sat Aug 30 10:31:04 2008 +0200 @@ -16,6 +16,8 @@ #include "expression.h" #include "id.h" #include "hdrgen.h" +#include "scope.h" +#include "template.h" /********************************* AttribDeclaration ****************************/ @@ -66,6 +68,8 @@ } else error("is false"); + if(sc->tinst) + sc->tinst->printInstantiationTrace(); if (!global.gag) fatal(); }