Mercurial > projects > ldc
comparison gen/toobj.cpp @ 1453:f35a9a77d256
More tweaks.
author | Robert Clipsham <robert@octarineparrot.com> |
---|---|
date | Mon, 01 Jun 2009 18:58:21 +0100 |
parents | 402bffb1b356 |
children | 7b218ec1044f |
comparison
equal
deleted
inserted
replaced
1452:638d16625da2 | 1453:f35a9a77d256 |
---|---|
618 { | 618 { |
619 error("object.d is missing the ModuleInfo class"); | 619 error("object.d is missing the ModuleInfo class"); |
620 fatal(); | 620 fatal(); |
621 } | 621 } |
622 // check for patch | 622 // check for patch |
623 #if DMDV2 | |
624 else if (moduleinfo->fields.dim != 10) | |
625 #else | |
623 else if (moduleinfo->fields.dim != 9) | 626 else if (moduleinfo->fields.dim != 9) |
627 #endif | |
624 { | 628 { |
625 error("object.d ModuleInfo class is incorrect"); | 629 error("object.d ModuleInfo class is incorrect"); |
626 fatal(); | 630 fatal(); |
627 } | 631 } |
628 | 632 |