On Fri, 28 Oct 2011 03:45:11 +0300, Andrej Mitrovic <andrej.mitrov...@gmail.com> wrote:

This is awesome and I was just about to request for something like
this too. Great job!

What is not awesome is that DMD spits out map files with invalid code points. :(

DMapTreeMap>rdmd treemapgen.d test13_2056.map out.json
std.utf.UTFException@std\utf.d(637): Invalid UTF-8 sequence (at index 15342)

I've checked it with an editor and there are tons of invalid code
points in the map file.

Ah, it shouldn't fail on that... the original D1 code I recycled worked just fine on arbitrary encodings, but D2's splitLines can't handle bad UTF. Anyway, fixed.

--
Best regards,
 Vladimir                            mailto:vladi...@thecybershadow.net

Reply via email to