diff options
author | Neil Booth <neil@daikokuya.co.uk> | 2003-01-01 12:27:02 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2003-01-01 12:27:02 +0000 |
commit | c58b209a5dbfc740b7fa58b54fcf876fe37fd941 (patch) | |
tree | 084056090b17ca08c6d590d93ec42d45ceee9b53 /gcc/cpplib.h | |
parent | 7347c2c511c96c1300b8eaa1570107f4a5251016 (diff) | |
download | gcc-c58b209a5dbfc740b7fa58b54fcf876fe37fd941.zip gcc-c58b209a5dbfc740b7fa58b54fcf876fe37fd941.tar.gz gcc-c58b209a5dbfc740b7fa58b54fcf876fe37fd941.tar.bz2 |
c-pragma.c (c_register_pragma): New.
* c-pragma.c (c_register_pragma): New.
(init_pragma): Use it.
* c-pragma.h (cpp_register_pragma): Don't declare.
(c_register_pragma): New.
* cpplib.h: Remove #ifdef GCC_C_PRAGMA_H.
* config/darwin.h (REGISTER_TARGET_PRAGMAS): Update.
* config/arm/arm.h (REGISTER_TARGET_PRAGMAS): Update.
* config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Update.
* config/h8300/h8300.h (REGISTER_TARGET_PRAGMAS): Update.
* config/i370/i370.h (REGISTER_TARGET_PRAGMAS): Update.
* config/i960/i960.h (REGISTER_TARGET_PRAGMAS): Update.
* config/ia64/hpux.h (REGISTER_TARGET_PRAGMAS): Update.
* config/rs6000/rs6000.h (REGISTER_TARGET_PRAGMAS): Update.
* config/sh/sh.h (REGISTER_TARGET_PRAGMAS): Update.
* config/v850/v850.h (REGISTER_TARGET_PRAGMAS): Update.
* doc/tm.texi (REGISTER_TARGET_PRAGMAS): Update
cp:
* lex.c: Remove superfluous include of cpplib.h.
(CONSTRAINT): Define without conditions.
(init_cp_pragma): Use c_register_pragma.
From-SVN: r60740
Diffstat (limited to 'gcc/cpplib.h')
-rw-r--r-- | gcc/cpplib.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/cpplib.h b/gcc/cpplib.h index fe1f89c..271a755 100644 --- a/gcc/cpplib.h +++ b/gcc/cpplib.h @@ -1,5 +1,5 @@ /* Definitions for CPP library. - Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 + Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. Written by Per Bothner, 1994-95. @@ -31,10 +31,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. extern "C" { #endif -/* For complex reasons, cpp_reader is also typedefed in c-pragma.h. */ -#ifndef GCC_C_PRAGMA_H typedef struct cpp_reader cpp_reader; -#endif typedef struct cpp_buffer cpp_buffer; typedef struct cpp_options cpp_options; typedef struct cpp_token cpp_token; |