debug.cc: Fix parameter indexes in __msg_valid_range2 message.

2010-10-24  François Dumont  <francois.cppdevs@free.fr>

	* src/debug.cc: Fix parameter indexes in __msg_valid_range2 message.
	Replace 'before begin' decription in 'before-begin' for consistency
	with 'paste-the-end'.

From-SVN: r165899
This commit is contained in:
François Dumont 2010-10-24 12:39:11 +02:00 committed by Paolo Carlini
parent 460f861d8d
commit 68478bb473
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2010-10-24 François Dumont <francois.cppdevs@free.fr>
* src/debug.cc: Fix parameter indexes in __msg_valid_range2 message.
Replace 'before begin' decription in 'before-begin' for consistency
with 'paste-the-end'.
2010-10-18 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/45866

View File

@ -109,8 +109,8 @@ namespace __gnu_debug
"attempt to insert into container after an end iterator",
"attempt to erase from container after a %2.state; iterator not followed"
" by a dereferenceable one",
"function requires a valid iterator range (%1.name;, %2.name;)"
", %1.name; shall not be equal to %2.name;"
"function requires a valid iterator range (%2.name;, %3.name;)"
", \"%2.name;\" shall be before and not equal to \"%3.name;\""
};
void
@ -331,7 +331,7 @@ namespace __gnu_debug
"dereferenceable (start-of-sequence)",
"dereferenceable",
"past-the-end",
"before begin"
"before-begin"
};
__formatter->_M_print_word(__state_names[_M_variant.
_M_iterator._M_state]);