mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-04-20 18:59:02 +02:00
Different fixes for d2
This commit is contained in:
@@ -190,11 +190,13 @@ ClassDeclaration::ClassDeclaration(Loc loc, Identifier *id, BaseClasses *basecla
|
||||
classinfo = this;
|
||||
}
|
||||
|
||||
#if !MODULEINFO_IS_STRUCT
|
||||
if (id == Id::ModuleInfo)
|
||||
{ if (Module::moduleinfo)
|
||||
Module::moduleinfo->error("%s", msg);
|
||||
Module::moduleinfo = this;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
com = 0;
|
||||
|
||||
Reference in New Issue
Block a user