2004-03-15 Paolo Carlini <pcarlini@suse.de>
commit68cf87aa43a5940b7fa19af9739b13ecd6c5bde6
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 15 Mar 2004 09:02:30 +0000 (15 09:02 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 15 Mar 2004 09:02:30 +0000 (15 09:02 +0000)
treee6b9bf11a13a7a1d457822fdca9f858c9c5b62c6
parent3432389f47a546eb99eaca8748745d90275120fd
2004-03-15  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc (money_get<>::_M_extract):
Adjust the logic underlying the parsing of symbol to deal
correctly with an optional sign component (i.e., when either
negative_sign or positive_sign is empty)
* testsuite/22_locale/money_get/get/char/19.cc: New.
* testsuite/22_locale/money_get/get/wchar_t/19.cc: New.

2004-03-15  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc (money_get<>::_M_extract):
Do not accept an incomplete currency symbol.
* testsuite/22_locale/money_get/get/char/18.cc: New.
* testsuite/22_locale/money_get/get/wchar_t/18.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79491 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/locale_facets.tcc
libstdc++-v3/testsuite/22_locale/money_get/get/char/18.cc [new file with mode: 0644]
libstdc++-v3/testsuite/22_locale/money_get/get/char/19.cc [new file with mode: 0644]
libstdc++-v3/testsuite/22_locale/money_get/get/wchar_t/18.cc [new file with mode: 0644]
libstdc++-v3/testsuite/22_locale/money_get/get/wchar_t/19.cc [new file with mode: 0644]