diff mde/file/mergetag/DataSet.d @ 88:01f4f5f1acc9

Changes to init and to allow compiling with gdc. Tweaked init code to allow using circular iterators (disabled until my patch makes it into tango). Changes to allow compiling with gdc. Building is successful and unittests complete, but in my experience a SIGSEGV occurs within SDL.
author Diggory Hardy <diggory.hardy@gmail.com>
date Mon, 29 Sep 2008 12:09:44 +0100
parents ac1e3fd07275
children
line wrap: on
line diff
--- a/mde/file/mergetag/DataSet.d	Tue Sep 23 12:31:48 2008 +0100
+++ b/mde/file/mergetag/DataSet.d	Mon Sep 29 12:09:44 2008 +0100
@@ -63,7 +63,7 @@
         ds.sec[cast(ID)"test"] = new DefaultData;
         assert (ds.getSections!(DefaultData)().length == 1);
         ds.sec[cast(ID)"test"].addTag ("char[]",cast(ID)"T"," \"ut tag 1 \" ");
-        assert (ds.getSections!(DefaultData)()[cast(ID)"test"].Arg!(char[])[cast(ID)"T"] == "ut tag 1 ");
+        assert (ds.getSections!(DefaultData)()[cast(ID)"test"]._charA[cast(ID)"T"] == "ut tag 1 ");
     
         logger.info ("Unittest complete.");
     }