aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <jsm28@cam.ac.uk>2001-06-04 20:50:50 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2001-06-04 20:50:50 +0100
commit2846f342f96b63bf3e565a8462d4c059f6a36743 (patch)
treed3f2660a925b336e404ab4ebdc8e9bc8567e6544
parent066bd40d6aa0dea3f8ea3d82c932b09a3591f48f (diff)
downloadgcc-2846f342f96b63bf3e565a8462d4c059f6a36743.zip
gcc-2846f342f96b63bf3e565a8462d4c059f6a36743.tar.gz
gcc-2846f342f96b63bf3e565a8462d4c059f6a36743.tar.bz2
c-tree.texi: Fix documentation of TREE_STRING_LENGTH for wide strings.
* doc/c-tree.texi: Fix documentation of TREE_STRING_LENGTH for wide strings. From-SVN: r42878
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/c-tree.texi2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 38d6aaf..b835dd9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2001-06-04 Joseph S. Myers <jsm28@cam.ac.uk>
+
+ * doc/c-tree.texi: Fix documentation of TREE_STRING_LENGTH for
+ wide strings.
+
Mon Jun 4 20:44:25 CEST 2001 Jan Hubicka <jh@suse.cz>
* simplify-rtx.c (simplify_subreg): Fix combining of
diff --git a/gcc/doc/c-tree.texi b/gcc/doc/c-tree.texi
index 9a1ee2f..1e2f32d 100644
--- a/gcc/doc/c-tree.texi
+++ b/gcc/doc/c-tree.texi
@@ -1826,7 +1826,7 @@ embedded @code{NUL} characters. Therefore, the
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}