summaryrefslogtreecommitdiff
path: root/gcc/c-tree.h
diff options
context:
space:
mode:
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-09-03 22:13:44 +0000
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-09-03 22:13:44 +0000
commitf885582fd9fea17064c323d21b60ced808197654 (patch)
tree44b7a5058da8d8a89a623d774dc9da297445cb64 /gcc/c-tree.h
parentdd8970f569af139b0a1c1adcf34d9bbe35da3945 (diff)
downloadgcc-f885582fd9fea17064c323d21b60ced808197654.tar.gz
(IDENTIFIER_LIMBO_VALUE): New macro.
(struct lang_identifier): New field limbo_value. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2048 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-tree.h')
-rw-r--r--gcc/c-tree.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/c-tree.h b/gcc/c-tree.h
index 353038b11e9..eabb01c31fd 100644
--- a/gcc/c-tree.h
+++ b/gcc/c-tree.h
@@ -23,7 +23,7 @@ struct lang_identifier
{
struct tree_identifier ignore;
tree global_value, local_value, label_value, implicit_decl;
- tree error_locus;
+ tree error_locus, limbo_value;
};
/* Macros for access to language-specific slots in an identifier. */
@@ -34,6 +34,10 @@ struct lang_identifier
(((struct lang_identifier *)(NODE))->local_value)
#define IDENTIFIER_LABEL_VALUE(NODE) \
(((struct lang_identifier *)(NODE))->label_value)
+/* IDENTIFIER_LIMBO_VALUE records the extern decl of this identifier,
+ if it has had one. */
+#define IDENTIFIER_LIMBO_VALUE(NODE) \
+ (((struct lang_identifier *)(NODE))->limbo_value)
#define IDENTIFIER_IMPLICIT_DECL(NODE) \
(((struct lang_identifier *)(NODE))->implicit_decl)
#define IDENTIFIER_ERROR_LOCUS(NODE) \