Mercurial > projects > orange
diff orange/xml/PhobosXML.d @ 34:068e853b9c07 experimental
Cleaned up. Updated to latest D2 compiler.
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Mon, 01 Aug 2011 20:34:54 +0200 |
parents | 27c5b6c5425f |
children | 511d1ef4e299 |
line wrap: on
line diff
--- a/orange/xml/PhobosXML.d Sun Jul 31 17:56:44 2011 +0200 +++ b/orange/xml/PhobosXML.d Mon Aug 01 20:34:54 2011 +0200 @@ -131,7 +131,7 @@ import std.string; import std.encoding; -immutable cdata = "<![CDATA["; +enum cdata = "<![CDATA["; final class Attribute : Element { @@ -1015,7 +1015,7 @@ string[] b = item.pretty(indent); foreach(s;b) { - a ~= rjustify(s,s.length + indent); + a ~= rightJustify(s,s.length + indent); } } a ~= tag.toEndString;