This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Ada] float_text_io fix


Tested on i686-linux, committed on trunk

Fix the following two issues:

The "Get" routine in Float_Text_IO incorrectly consumed a dot
('.') when the number before ends in an underscore ('_'). Eg:   
2_.5

The "Get" routine of Float_Text_IO also did not parse the terminating
sharp ('#') sign of a based numeral. Eg: -8#.7#             

2007-06-06  Hristian Kirtchev  <kirtchev@adacore.com>

	* a-ztflau.adb, a-wtflau.adb, a-tiflau.adb (Load_Real): Do not parse
	"." in the case of nnn.xxx when nnn terminates with an underscore.
	Parse the remaining "#" or ":" in the case of nnn#.xxx#

Attachment: difs
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]