2003-12-31 Paolo Carlini <pcarlini@suse.de>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Dec 2003 08:28:10 +0000 (08:28 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Dec 2003 08:28:10 +0000 (08:28 +0000)
commit4c5a278eabd0fabad8beb380b04d449f5207a40d
treedc615e287c0bd2140978df6b1f24cda3d7812fb3
parent11b3eb0ff9eb26d022a0911829f43737a8e9791d
2003-12-31  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc (num_get::_M_extract_int,
num_get::_M_extract_float): According to 22.2.2.1.2, p8-9,
_first_ look for thousands_sep, then for decimal_point and
finally for digits.
(num_get::_M_extract_float): After the decimal_point or
'e'/'E', decimal_point and thousands_sep just break out the
parsing loop.
* testsuite/22_locale/num_get/get/char/11.cc: Add tests.
* testsuite/22_locale/num_get/get/wchar_t/11.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75259 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/locale_facets.tcc
libstdc++-v3/testsuite/22_locale/num_get/get/char/11.cc
libstdc++-v3/testsuite/22_locale/num_get/get/wchar_t/11.cc