mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-30 07:14:09 +08:00
2003-11-22 Paolo Carlini <pcarlini@suse.de>
* config/locale/gnu/monetary_members.cc (money_base::_S_construct_pattern): Factor out two assignments. From-SVN: r73844
This commit is contained in:
parent
343c49ce75
commit
cc0c2f7986
@ -1,3 +1,8 @@
|
||||
2003-11-22 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
* config/locale/gnu/monetary_members.cc
|
||||
(money_base::_S_construct_pattern): Factor out two assignments.
|
||||
|
||||
2003-11-22 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
* include/bits/istream.tcc (getline(basic_string<>&)):
|
||||
|
@ -63,6 +63,7 @@ namespace std
|
||||
case 0:
|
||||
case 1:
|
||||
// 1 The sign precedes the value and symbol.
|
||||
__ret.field[0] = sign;
|
||||
if (__space)
|
||||
{
|
||||
// Pattern starts with sign.
|
||||
@ -76,7 +77,6 @@ namespace std
|
||||
__ret.field[1] = value;
|
||||
__ret.field[3] = symbol;
|
||||
}
|
||||
__ret.field[0] = sign;
|
||||
__ret.field[2] = space;
|
||||
}
|
||||
else
|
||||
@ -92,7 +92,6 @@ namespace std
|
||||
__ret.field[1] = value;
|
||||
__ret.field[2] = symbol;
|
||||
}
|
||||
__ret.field[0] = sign;
|
||||
__ret.field[3] = none;
|
||||
}
|
||||
break;
|
||||
@ -104,15 +103,14 @@ namespace std
|
||||
if (__precedes)
|
||||
{
|
||||
__ret.field[0] = symbol;
|
||||
__ret.field[1] = space;
|
||||
__ret.field[2] = value;
|
||||
}
|
||||
else
|
||||
{
|
||||
__ret.field[0] = value;
|
||||
__ret.field[1] = space;
|
||||
__ret.field[2] = symbol;
|
||||
}
|
||||
__ret.field[1] = space;
|
||||
__ret.field[3] = sign;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user