summaryrefslogtreecommitdiff
path: root/gcc/ada/s-wchwts.ads
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2008-08-05 13:42:08 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2008-08-05 13:42:08 +0000
commit9828d38095de947645523aa3ea8070c8e1bb99a0 (patch)
tree41315687c8149a8c962459a87f301abcc4795770 /gcc/ada/s-wchwts.ads
parent96b387a535b0c460a630a2a0bd493c34dee44b2d (diff)
downloadgcc-9828d38095de947645523aa3ea8070c8e1bb99a0.tar.gz
2008-08-05 Vincent Celier <celier@adacore.com>
* s-wchwts.adb: (Wide_String_To_String): Returns a String with the same 'First as its parameter S. (Wide_Wide_String_To_String): Ditto * s-wchwts.ads: (Wide_String_To_String): Document that the lowest index of the returned String is equal to S'First. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@138708 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/s-wchwts.ads')
-rw-r--r--gcc/ada/s-wchwts.ads3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/ada/s-wchwts.ads b/gcc/ada/s-wchwts.ads
index 691a322ea6c..4f8bfcf4014 100644
--- a/gcc/ada/s-wchwts.ads
+++ b/gcc/ada/s-wchwts.ads
@@ -54,7 +54,8 @@ package System.WCh_WtS is
-- that normal (non-wide character) mode holds at the start and end of
-- the result string. EM indicates the wide character encoding method.
-- Note: in the WCEM_Brackets case, we only use the brackets encoding
- -- for characters greater than 16#FF#.
+ -- for characters greater than 16#FF#. The lowest index of the returned
+ -- String is equal to S'First.
function Wide_Wide_String_To_String
(S : Wide_Wide_String;