This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch for wide strings docs in c-tree.texi


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]