From 81a75f0f4374f92d7b08a8689d21ebe21ae8ac7a Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Sat, 25 May 2002 22:01:55 +0000 Subject: Makefile.in (C_COMMON_H): Fix. * Makefile.in (C_COMMON_H): Fix. Update other targets. * c-common.c: Don't include c-lex.h. (builtin_define_with_value): Make static and prototype. (builtin_define_std): Move from c-lex.h. * c-common.h (init_c_lex): Move from c-lex.h. * c-decl.c: Don't include c-lex.h. (make_pointer_declarator): Move from c-parse.in. * c-lex.c: Don't include c-lex.h. * c-lex.h: Remove. * c-parse.in: Don't include c-lex.h; include c-pragma.h. (make_pointer_declarator): Move to c-decl.c. * c-pragma.c: Don't include c-lex.h. * c-pragma.h (yydebug, YYDEBUG, parse_in, c_lex): Move from c-lex.h. * c-tree.h (make_pointer_declarator): New. cp: * lex.c: Don't include c-lex.h. * parse.y, spew.c: Don't include c-lex.h; include c-pragma.h. doc: * passes.texi, tm.texi: Update. objc: * Make-lang.in: Update and correct. * objc-act.c: Don't include c-lex.h or cpplib.h. treelang: * treetree.c: Don't include c-lex.h. config: * darwin-c.c: Don't include c-lex.h. * c4x/c4x-c.c: Don't include c-lex.h. * c4x/t-c4x: Update. * i370/i370-c.c: Don't include c-lex.h. * i370/t-i370: Update. * i960/i960-c.c: Don't include c-lex.h. * i960/i960.c: Don't include cpplib.h, c-lex.h or c-pragma.h. * i960/t-960bare: Update. * i960/t-vxworks: Update. * rs6000/rs6000-c.c: Don't include c-lex.h; include c-pragma.h. * rs6000/t-darwin: Update. * rs6000/t-rs6000-c-rule: Update. * v850/v850-c.c: Don't include c-lex.h. * v850/v850.c: Don't include c-lex.h or cpplib.h. From-SVN: r53876 --- gcc/c-pragma.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'gcc/c-pragma.h') diff --git a/gcc/c-pragma.h b/gcc/c-pragma.h index 22e4f7a..8e7589f 100644 --- a/gcc/c-pragma.h +++ b/gcc/c-pragma.h @@ -22,6 +22,13 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #ifndef GCC_C_PRAGMA_H #define GCC_C_PRAGMA_H +/* Cause the `yydebug' variable to be defined. */ +#define YYDEBUG 1 +extern int yydebug; + +struct cpp_reader; +extern struct cpp_reader* parse_in; + #ifdef HANDLE_SYSV_PRAGMA #if ((defined (ASM_WEAKEN_LABEL) && defined (ASM_OUTPUT_WEAK_ALIAS)) \ || defined (ASM_WEAKEN_DECL)) @@ -56,4 +63,6 @@ extern void cpp_register_pragma PARAMS ((cpp_reader *, extern void maybe_apply_pragma_weak PARAMS ((tree)); extern tree maybe_apply_renaming_pragma PARAMS ((tree, tree)); +extern int c_lex PARAMS ((tree *)); + #endif /* GCC_C_PRAGMA_H */ -- cgit v1.1