summaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorJason Merrill <merrill@gnu.org>1996-11-09 01:32:56 +0000
committerJason Merrill <merrill@gnu.org>1996-11-09 01:32:56 +0000
commita082c85a4365cc2a9b73ecc6547075d3c352d46c (patch)
tree52d6bc1d7084d5aba0f1ee166babb5917339f369 /gcc/tree.h
parent9b04c6a896b81889fb94e7878cef705b1ef716c4 (diff)
downloadgcc-a082c85a4365cc2a9b73ecc6547075d3c352d46c.tar.gz
x
From-SVN: r13116
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 2d37be941e4..a89ae508382 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -880,8 +880,9 @@ struct tree_type
/* For FIELD_DECLs, this is the
RECORD_TYPE, UNION_TYPE, or QUAL_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". */
+ and CONST_DECL nodes, this points to either the FUNCTION_DECL for the
+ containing function, the RECORD_TYPE or UNION_TYPE for the containing
+ type, or 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 DECL this is the field where configuration dependent machine