aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-tree.h
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-09-03 22:13:44 +0000
committerRichard Stallman <rms@gnu.org>1992-09-03 22:13:44 +0000
commitf2a02c3a1d591789634b58af1fe65ead27b5eaad (patch)
tree44b7a5058da8d8a89a623d774dc9da297445cb64 /gcc/c-tree.h
parent207f537628316255f51188e520c0673b6fb16bf1 (diff)
downloadgcc-f2a02c3a1d591789634b58af1fe65ead27b5eaad.zip
gcc-f2a02c3a1d591789634b58af1fe65ead27b5eaad.tar.gz
gcc-f2a02c3a1d591789634b58af1fe65ead27b5eaad.tar.bz2
(IDENTIFIER_LIMBO_VALUE): New macro.
(struct lang_identifier): New field limbo_value. From-SVN: r2048
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 353038b1..eabb01c 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) \