aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJoseph Myers <jsm28@cam.ac.uk>2001-10-07 12:05:45 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2001-10-07 12:05:45 +0100
commit59d42021f94fd5aa07147cb63d9187c93f4f13b9 (patch)
tree290538b8a5f9fd01d6a105715cb56d12bd7a9bd1 /gcc
parent96cd0e2d6bc4a178ade989180d2c09e5b0e72aa5 (diff)
downloadgcc-59d42021f94fd5aa07147cb63d9187c93f4f13b9.zip
gcc-59d42021f94fd5aa07147cb63d9187c93f4f13b9.tar.gz
gcc-59d42021f94fd5aa07147cb63d9187c93f4f13b9.tar.bz2
c-tree.texi, tm.texi: Consistently put NULL and NULL_TREE inside @code.
* doc/c-tree.texi, doc/tm.texi: Consistently put NULL and NULL_TREE inside @code. From-SVN: r46057
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/c-tree.texi8
-rw-r--r--gcc/doc/tm.texi8
3 files changed, 13 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 14e2776..fc92184 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
+ * doc/c-tree.texi, doc/tm.texi: Consistently put NULL and
+ NULL_TREE inside @code.
+
+2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
+
* doc/gcc.texi: Document consistent style of "32-bit",
"Objective-C", and "@code{NULL}".
diff --git a/gcc/doc/c-tree.texi b/gcc/doc/c-tree.texi
index 350c9bc..e36090a 100644
--- a/gcc/doc/c-tree.texi
+++ b/gcc/doc/c-tree.texi
@@ -500,7 +500,7 @@ arguments.
Note that in C (but not in C++) a function declared like @code{void f()}
is an unprototyped function taking a variable number of arguments; the
-@code{TYPE_ARG_TYPES} of such a function will be NULL@.
+@code{TYPE_ARG_TYPES} of such a function will be @code{NULL}.
@item METHOD_TYPE
Used to represent the type of a non-static member function. Like a
@@ -1308,7 +1308,7 @@ This predicate holds if the function an overloaded
@findex WHILE_COND
A function that has a definition in the current translation unit will
-have a non-NULL @code{DECL_INITIAL}. However, back ends should not make
+have a non-@code{NULL} @code{DECL_INITIAL}. However, back ends should not make
use of the particular value given by @code{DECL_INITIAL}.
The @code{DECL_SAVED_TREE} macro will give the complete body of the
@@ -1423,8 +1423,8 @@ fields.
@item CASE_LABEL
Use to represent a @code{case} label, range of @code{case} labels, or a
-@code{default} label. If @code{CASE_LOW} is NULL_TREE, then this is a a
-@code{default} label. Otherwise, if @code{CASE_HIGH} is NULL_TREE, then
+@code{default} label. If @code{CASE_LOW} is @code{NULL_TREE}, then this is a a
+@code{default} label. Otherwise, if @code{CASE_HIGH} is @code{NULL_TREE}, then
this is an ordinary @code{case} label. In this case, @code{CASE_LOW} is
an expression giving the value of the label. Both @code{CASE_LOW} and
@code{CASE_HIGH} are @code{INTEGER_CST} nodes. These values will have
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index cd4ec28..193a060 100644
--- a/gcc/doc/tm.texi
+++ b/gcc/doc/tm.texi
@@ -849,7 +849,7 @@ function pointers below.
@findex init_machine_status
@item init_machine_status
This is a @code{void (*)(struct function *)} function pointer. If this
-pointer is non-NULL it will be called once per function, before function
+pointer is non-@code{NULL} it will be called once per function, before function
compilation starts, in order to allow the target to perform any target
specific initialisation of the @code{struct function} structure. It is
intended that this would be used to initialise the @code{machine} of
@@ -858,14 +858,14 @@ that structure.
@findex free_machine_status
@item free_machine_status
This is a @code{void (*)(struct function *)} function pointer. If this
-pointer is non-NULL it will be called once per function, after the
+pointer is non-@code{NULL} it will be called once per function, after the
function has been compiled, in order to allow any memory allocated
during the @code{init_machine_status} function call to be freed.
@findex mark_machine_status
@item mark_machine_status
This is a @code{void (*)(struct function *)} function pointer. If this
-pointer is non-NULL it will be called once per function in order to mark
+pointer is non-@code{NULL} it will be called once per function in order to mark
any data items in the @code{struct machine_function} structure which
need garbage collection.
@@ -6575,7 +6575,7 @@ buffer in which to store the name; its length is as long as
The argument @var{is_inst} specifies whether the method is an instance
method or a class method; @var{class_name} is the name of the class;
-@var{cat_name} is the name of the category (or NULL if the method is not
+@var{cat_name} is the name of the category (or @code{NULL} if the method is not
in a category); and @var{sel_name} is the name of the selector.
On systems where the assembler can handle quoted names, you can use this