diff options
author | Richard Stallman <rms@gnu.org> | 1992-08-05 01:35:11 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1992-08-05 01:35:11 +0000 |
commit | 9b8001011591d342f92f07a279b3412e63f654ac (patch) | |
tree | 814f489e1e417cbaa7cb895216150d9d8b8aa230 | |
parent | 9e5386dbcd757cc981408df9cb148e1ed1c5b63c (diff) | |
download | gcc-9b8001011591d342f92f07a279b3412e63f654ac.zip gcc-9b8001011591d342f92f07a279b3412e63f654ac.tar.gz gcc-9b8001011591d342f92f07a279b3412e63f654ac.tar.bz2 |
Changes in comments.
From-SVN: r1769
-rw-r--r-- | gcc/tree.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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, |