aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/c-common.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ea691ca..473aab2 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2002-12-31 Mark Mitchell <mark@codesourcery.com>
+
+ * c-common.h (pending_lang_change): Declare.
+
2002-12-31 Jerry Quinn <jlquinn@optonline.net>
* gcc/doc/invoke.texi (Optimization Options): Clean up -O flag
diff --git a/gcc/c-common.h b/gcc/c-common.h
index 1f59ebd..4c60d29 100644
--- a/gcc/c-common.h
+++ b/gcc/c-common.h
@@ -1235,6 +1235,10 @@ extern const char *init_c_lex PARAMS ((const char *));
extern void cb_register_builtins PARAMS ((cpp_reader *));
+/* Positive if an implicit `extern "C"' scope has just been entered;
+ negative if such a scope has just been exited. */
+extern int pending_lang_change;
+
/* Information recorded about each file examined during compilation. */
struct c_fileinfo