]> git.ipfire.org Git - thirdparty/gcc.git/commit
locale_facets.tcc (money_get<>::_M_extract): Adjust the logic underlying the parsing...
authorPaolo Carlini <pcarlini@suse.de>
Mon, 15 Mar 2004 09:02:30 +0000 (09:02 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 15 Mar 2004 09:02:30 +0000 (09:02 +0000)
commit33674f003add463d25c998eacf5eea0b6bd6c7cc
treee6b9bf11a13a7a1d457822fdca9f858c9c5b62c6
parentd08418fa778b010bb8f18e2390a0d976c491e14f
locale_facets.tcc (money_get<>::_M_extract): Adjust the logic underlying the parsing of symbol to deal correctly with an...

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.

From-SVN: r79491
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]