Mercurial > projects > mde
diff mde/mergetag/dataset.d @ 7:b544c3a7c9ca
Some changes to exceptions and a few more debug commands.
committer: Diggory Hardy <diggory.hardy@gmail.com>
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Wed, 16 Jan 2008 12:48:07 +0000 |
parents | dcb24afa0dce |
children | f63f4f41a2dc |
line wrap: on
line diff
--- a/mde/mergetag/dataset.d Thu Jan 10 18:33:24 2008 +0000 +++ b/mde/mergetag/dataset.d Wed Jan 16 12:48:07 2008 +0000 @@ -8,7 +8,6 @@ import mde.text.util; import mde.text.parse : parse; import mde.text.format : format; -import mde.text.exception : TextParseException; // tango imports import Util = tango.text.Util; @@ -111,6 +110,7 @@ * calling addTag. */ void addTag (char[],ID,char[]); void writeAll (ItemDelg); /// TBD + debug void debugFunc (); /// Run in debug builds after parseSection. } /** @@ -253,6 +253,7 @@ void writeAll (ItemDelg itemdlg) { foreach (id, dt; _charA) itemdlg ("char[]", id, format!(char[])(dt)); } + debug void debugFunc () {} /* These make no attempt to check Arg is valid. * But if the symbol doesn't exist the complier will throw an error anyway, e.g.: