This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch for wide strings docs in c-tree.texi
- To: <gcc-patches at gcc dot gnu dot org>
- Subject: Patch for wide strings docs in c-tree.texi
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Mon, 4 Jun 2001 21:00:13 +0100 (BST)
This patch fixes an error in the documentation of the representation
of wide strings. It passes "make info" and "make dvi". Applied to
mainline and branch.
2001-06-04 Joseph S. Myers <jsm28@cam.ac.uk>
* doc/c-tree.texi: Fix documentation of TREE_STRING_LENGTH for
wide strings.
--- c-tree.texi.orig Mon Jun 4 15:52:10 2001
+++ c-tree.texi Mon Jun 4 19:42:30 2001
@@ -1826,7 +1826,7 @@
present.
For wide string constants, the @code{TREE_STRING_LENGTH} is the number
-of wide characters in the string, and the @code{TREE_STRING_POINTER}
+of bytes in the string, and the @code{TREE_STRING_POINTER}
points to an array of the bytes of the string, as represented on the
target system (that is, as integers in the target endianness). Wide and
non-wide string constants are distinguished only by the @code{TREE_TYPE}
--
Joseph S. Myers
jsm28@cam.ac.uk