Fixed compilation of ldc2

This commit is contained in:
Alexey Prokhin
2010-09-28 20:51:27 +04:00
parent 90d9d11def
commit 93ddf8112b
9 changed files with 101 additions and 31 deletions

View File

@@ -825,6 +825,8 @@ LDC_TARGETS
fatal();
#endif
// TODO: hack for old d2 frontends
#if DMDV1
// load all unconditional imports for better symbol resolving
for (int i = 0; i < modules.dim; i++)
{
@@ -835,6 +837,7 @@ LDC_TARGETS
}
if (global.errors)
fatal();
#endif
// Do semantic analysis
for (int i = 0; i < modules.dim; i++)