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>
|
2003-11-22 Paolo Carlini <pcarlini@suse.de>
|
||||||
|
|
||||||
* include/bits/istream.tcc (getline(basic_string<>&)):
|
* include/bits/istream.tcc (getline(basic_string<>&)):
|
||||||
|
|
|
@ -63,6 +63,7 @@ namespace std
|
||||||
case 0:
|
case 0:
|
||||||
case 1:
|
case 1:
|
||||||
// 1 The sign precedes the value and symbol.
|
// 1 The sign precedes the value and symbol.
|
||||||
|
__ret.field[0] = sign;
|
||||||
if (__space)
|
if (__space)
|
||||||
{
|
{
|
||||||
// Pattern starts with sign.
|
// Pattern starts with sign.
|
||||||
|
@ -76,7 +77,6 @@ namespace std
|
||||||
__ret.field[1] = value;
|
__ret.field[1] = value;
|
||||||
__ret.field[3] = symbol;
|
__ret.field[3] = symbol;
|
||||||
}
|
}
|
||||||
__ret.field[0] = sign;
|
|
||||||
__ret.field[2] = space;
|
__ret.field[2] = space;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -92,7 +92,6 @@ namespace std
|
||||||
__ret.field[1] = value;
|
__ret.field[1] = value;
|
||||||
__ret.field[2] = symbol;
|
__ret.field[2] = symbol;
|
||||||
}
|
}
|
||||||
__ret.field[0] = sign;
|
|
||||||
__ret.field[3] = none;
|
__ret.field[3] = none;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -104,15 +103,14 @@ namespace std
|
||||||
if (__precedes)
|
if (__precedes)
|
||||||
{
|
{
|
||||||
__ret.field[0] = symbol;
|
__ret.field[0] = symbol;
|
||||||
__ret.field[1] = space;
|
|
||||||
__ret.field[2] = value;
|
__ret.field[2] = value;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
__ret.field[0] = value;
|
__ret.field[0] = value;
|
||||||
__ret.field[1] = space;
|
|
||||||
__ret.field[2] = symbol;
|
__ret.field[2] = symbol;
|
||||||
}
|
}
|
||||||
|
__ret.field[1] = space;
|
||||||
__ret.field[3] = sign;
|
__ret.field[3] = sign;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue