Summary: std.demangle doesn't parse ref, pure, notrow
--- Comment #0 from Lutger <lutger.blijdest...@gmail.com> 2009-09-20 11:11:41
There are four 'attributes' defined in the ABI which std.demangle currently
doesn't parse: pure, nothrow, ref and property:
assert(demangle("_D3fooFNaNbZv") == "pure nothrow void foo()");
I've attached a patch (my first), feedback appreciated if something is not
I didn't know how property is supposed to be demangled, so that one is just
ignored. Also, this patch assumes all attributes are valid for functions and
delegates and just ignores attributes for calling conventions other that D.
Again, not sure if that's ok.
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------