diff options
Diffstat (limited to 'gcc/doc/gty.texi')
-rw-r--r-- | gcc/doc/gty.texi | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/doc/gty.texi b/gcc/doc/gty.texi index e0d9a33cde6..31d52522553 100644 --- a/gcc/doc/gty.texi +++ b/gcc/doc/gty.texi @@ -1,4 +1,4 @@ -@c Copyright (C) 2002 +@c Copyright (C) 2002, 2003 @c Free Software Foundation, Inc. @c This is part of the GCC manual. @c For copying conditions, see the file gcc.texi. @@ -184,10 +184,10 @@ specify the real type of a field identified by @code{use_param1} through @findex use_params @item use_params -When a structure contains another structure that is parameterised, -there's no need to do anything special, the inner stucture inherits the +When a structure contains another structure that is parameterized, +there's no need to do anything special, the inner structure inherits the parameters of the outer one. When a structure contains a pointer to a -parameterised structure, the type machinery won't automatically detect +parameterized structure, the type machinery won't automatically detect this (it could, it just doesn't yet), so it's necessary to tell it that the pointed-to structure should use the same parameters as the outer structure. This is done by marking the pointer with the |