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

John Lam (DLR) jflam at microsoft.com
Sun Jan 13 11:26:35 EST 2008


Yes it is. But its a trivial one-line patch that doesn't have any clear alternative implementation, so it's ok.

- John
Sent from my phone

-----Original Message-----
From: Peter Bacon Darwin <bacondarwin at googlemail.com>
Sent: Sunday, January 13, 2008 12:35 AM
To: ironruby-core at rubyforge.org <ironruby-core at rubyforge.org>
Subject: Re: [Ironruby-core] Float parsing is culture dependent (patch  included)


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

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


More information about the Ironruby-core mailing list