Mercurial > projects > ldc
comparison gen/toobj.cpp @ 1456:7b218ec1044f
Automated merge with http://hg.dsource.org/projects/ldc
author | Robert Clipsham <robert@octarineparrot.com> |
---|---|
date | Tue, 02 Jun 2009 17:12:37 +0100 |
parents | 83bdf7bed9c5 f35a9a77d256 |
children | 93644700a0b3 |
comparison
equal
deleted
inserted
replaced
1451:297d1e2f6441 | 1456:7b218ec1044f |
---|---|
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 |