[Ironruby-core] Float parsing is culture dependent (patch included)

Peter Bacon Darwin bacondarwin at googlemail.com
Sun Jan 13 03:35:27 EST 2008


Isn't this patch hitting Tokenizer.cs inside the IronRuby.dll?

-----Original Message-----
From: ironruby-core-bounces at rubyforge.org
[mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of John Lam (DLR)
Sent: Sunday,13 January 13, 2008 05:33
To: ironruby-core at rubyforge.org
Subject: Re: [Ironruby-core] Float parsing is culture dependent (patch
included)

Thibaut Barrère:

> if you type "1.0" then enter under rbx on a french machine (or any
> machine with something different than dot for the decimal separator),
> you'll get an exception.
>
> I've attached a patch which works for me.

Thanks for sending in this patch! I'll make sure this makes it into our next
push.

-John

_______________________________________________
Ironruby-core mailing list
Ironruby-core at rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core



More information about the Ironruby-core mailing list