C++ PATCH: Fix broken check-in from yesterday
Mark Mitchell
mark@codesourcery.com
Tue Dec 31 09:33:00 GMT 2002
This patch fixes my check-in yesterday which used a global variable
that was not declared. I wanted to declare it in the right place,
but forgot to check in that bit. Sorry!
Tested on i686-pc-linux-gnu, applied on the mainline.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
2002-12-31 Mark Mitchell <mark@codesourcery.com>
* c-common.h (pending_lang_change): Declare.
Index: c-common.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/c-common.h,v
retrieving revision 1.164
diff -c -p -r1.164 c-common.h
*** c-common.h 1 Dec 2002 17:51:44 -0000 1.164
--- c-common.h 31 Dec 2002 17:31:48 -0000
*************** extern const char *init_c_lex PARAMS (
*** 1235,1240 ****
--- 1235,1244 ----
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
More information about the Gcc-patches
mailing list