mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-03-15 00:21:50 +01:00
Merge DMD 1.051
This commit is contained in:
11
gen/main.cpp
11
gen/main.cpp
@@ -806,6 +806,17 @@ LDC_TARGETS
|
||||
fatal();
|
||||
#endif
|
||||
|
||||
// load all unconditional imports for better symbol resolving
|
||||
for (int i = 0; i < modules.dim; i++)
|
||||
{
|
||||
m = (Module *)modules.data[i];
|
||||
if (global.params.verbose)
|
||||
printf("importall %s\n", m->toChars());
|
||||
m->importAll(0);
|
||||
}
|
||||
if (global.errors)
|
||||
fatal();
|
||||
|
||||
// Do semantic analysis
|
||||
for (int i = 0; i < modules.dim; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user