From: CRISMER Paul-G. <Pau...@gr...> - 2008-02-15 12:46:48
|
Just a typo... Sorry for that. Paul G. Crismer -----Original Message----- From: gob...@li... [mailto:gob...@li...] On Behalf Of Colin Paul Adams Sent: vendredi 15 février 2008 13:25 To: gob...@li... Subject: [gobo-eiffel-develop] Bug in parsing decimals? I found a bug in Gexslt, which was due to not enough digits in an MA_DECIMAL. So I changed from using {MA_DECIMAL_TEXT_PARSER}.parse to {MA_DECIMAL_TEXT_PARSER}.parse_ctx, supplying a context created using: create l_ctx.make (a_priority_attribute.count, round_half_up) (a_priority_attribute) is the string I want to parse as a decimal, so this sounds like a safe way of not losing any information from the string. However, I still get the same bug. When i started to debug, I find that {MA_DECIMAL_TEXT_PARSER}.parse_ctx is ignoring the passed context and just using the shared decimal context. I'm assuming that was just a copy-and-paste error? -- Colin Adams Preston Lancashire ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ gobo-eiffel-develop mailing list gob...@li... https://lists.sourceforge.net/lists/listinfo/gobo-eiffel-develop ***** Disclaimer ***** http://www.groupes.be/1_mail-disclaimer.htm |