aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-08-05 01:35:11 +0000
committerRichard Stallman <rms@gnu.org>1992-08-05 01:35:11 +0000
commit9b8001011591d342f92f07a279b3412e63f654ac (patch)
tree814f489e1e417cbaa7cb895216150d9d8b8aa230 /gcc
parent9e5386dbcd757cc981408df9cb148e1ed1c5b63c (diff)
downloadgcc-9b8001011591d342f92f07a279b3412e63f654ac.zip
gcc-9b8001011591d342f92f07a279b3412e63f654ac.tar.gz
gcc-9b8001011591d342f92f07a279b3412e63f654ac.tar.bz2
Changes in comments.
From-SVN: r1769
Diffstat (limited to 'gcc')
-rw-r--r--gcc/tree.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 7a409a7..c9340ff 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -692,8 +692,11 @@ struct tree_type
Often this is the same as DECL_NAME.
It is an IDENTIFIER_NODE. */
#define DECL_ASSEMBLER_NAME(NODE) ((NODE)->decl.assembler_name)
-/* The containing binding context; either a BINDING
- or a RECORD_TYPE or UNION_TYPE. */
+/* For FIELD_DECLs, this is the
+ RECORD_TYPE or UNION_TYPE node that the field is a member of. For
+ VAR_DECL, PARM_DECL, FUNCTION_DECL, LABEL_DECL, and CONST_DECL nodes,
+ this points to the FUNCTION_DECL for the containing function, or else
+ yields NULL_TREE if the given decl has "file scope". */
#define DECL_CONTEXT(NODE) ((NODE)->decl.context)
#define DECL_FIELD_CONTEXT(NODE) ((NODE)->decl.context)
/* In a FIELD_DECL, this is the field position, counting in bits,