[Issue 7692] std.conv.parse should do lookahead for "0x" in strings with radix 16
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Mar 11 19:53:37 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7692
--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2012-03-11 19:53:45 PDT ---
A simple thing to do would probably be to add this at the start of
Target parse(Target, Source)(ref Source s, uint radix):
if (radix == 16 && s.startsWith("0x"))
s.popFrontN(2);
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list