]> git.ipfire.org Git - thirdparty/gcc.git/commit
locale_facets.tcc (money_get::do_get(string_type&)): Fix parsing of the remaining...
authorPaolo Carlini <pcarlini@suse.de>
Mon, 16 Feb 2004 16:46:26 +0000 (16:46 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 16 Feb 2004 16:46:26 +0000 (16:46 +0000)
commitb7e64db2a475a13f90219c36d4c9c3d846f60b1c
tree398eed3d5887c9a9a902d82333e88cb60ac16e58
parent9ac974606795ef764ada5241981be2c899dc5586
locale_facets.tcc (money_get::do_get(string_type&)): Fix parsing of the remaining sign characters.

2004-02-16  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc (money_get::do_get(string_type&)):
Fix parsing of the remaining sign characters.
* 22_locale/money_get/get/char/2.cc: Tweak: now, correctly,
the input is scanned 'til eof.
* 22_locale/money_get/get/char/4.cc: Likewise.
* 22_locale/money_get/get/wchar_t/2.cc: Likewise.
* 22_locale/money_get/get/wchar_t/4.cc: Likewise.
* 22_locale/money_get/get/char/8.cc: Tweak: override do_neg_format,
not do_pos_format: the former is the only one that matters during
input.
* 22_locale/money_get/get/wchar_t/8.cc: Likewise.

* 22_locale/money_get/get/char/6.cc: Minor tweak.
* 22_locale/money_get/get/wchar_t/6.cc: Likewise.

From-SVN: r77896
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/locale_facets.tcc
libstdc++-v3/testsuite/22_locale/money_get/get/char/2.cc
libstdc++-v3/testsuite/22_locale/money_get/get/char/4.cc
libstdc++-v3/testsuite/22_locale/money_get/get/char/6.cc
libstdc++-v3/testsuite/22_locale/money_get/get/char/8.cc
libstdc++-v3/testsuite/22_locale/money_get/get/wchar_t/2.cc
libstdc++-v3/testsuite/22_locale/money_get/get/wchar_t/4.cc
libstdc++-v3/testsuite/22_locale/money_get/get/wchar_t/6.cc
libstdc++-v3/testsuite/22_locale/money_get/get/wchar_t/8.cc