# HG changeset patch # User Diggory Hardy # Date 1231445386 0 # Node ID 3328c6fb77cae00ef78c2f7ab5ab37681cee3a0a # Parent c9843fbaac8824013ee61c6a4b6ac42cfcbe8d0f 2 fixes for ldc - not that I was able to compile anyway (x86_64). diff -r c9843fbaac88 -r 3328c6fb77ca mde/lookup/Translation.d --- a/mde/lookup/Translation.d Thu Jan 08 13:05:44 2009 +0000 +++ b/mde/lookup/Translation.d Thu Jan 08 20:09:46 2009 +0000 @@ -79,7 +79,7 @@ * symbol names being untranslated. */ Translation get (char[] section) { if (sections is null || loadedL10n !is miscOpts.L10n()) { - if (sections) { // Clear entries hash-map, but re-use classes + if (sections.length) { // Clear entries hash-map, but re-use classes foreach (s; sections) s.entries = null; } diff -r c9843fbaac88 -r 3328c6fb77ca mde/setup/Init.d --- a/mde/setup/Init.d Thu Jan 08 13:05:44 2009 +0000 +++ b/mde/setup/Init.d Thu Jan 08 20:09:46 2009 +0000 @@ -46,6 +46,7 @@ import mde.lookup.Options; import paths = mde.setup.paths; import mde.exception; // optionsLoadException +import imde = mde.imde; // tango imports import tango.core.Thread;