diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-07-17 21:31:42 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-07-17 21:31:42 +0000 |
commit | b07c4b8555b0b0527adceb5c7221c2e88dca2238 (patch) | |
tree | fe351c680db9579e33873d4fc5b985b8dde0266f /gcc/cpplib.c | |
parent | 5018b5cd1a5d0366b6d3157bd6610fbf5c69c991 (diff) | |
download | gcc-b07c4b8555b0b0527adceb5c7221c2e88dca2238.tar.gz |
* cpplib.c (do_sccs): Handle #sccs on all systems.
* system.h (SCCS_DIRECTIVE): Poison.
* config/darwin.h, config/freebsd.h, config/netbsd.h,
config/ptx4.h, config/svr3.h, config/svr4.h, config/alpha/elf.h,
config/arm/linux-elf.h, config/c4x/c4x.h, config/d30v/d30v.h,
config/i370/i370.h, config/i386/gas.h, config/i386/sco5.h,
config/i960/i960.h, config/m68hc11/m68hc11.h, config/m68k/3b1.h,
config/m68k/3b1g.h, config/m68k/crds.h, config/m68k/mot3300.h,
config/m68k/pbb.h, config/m88k/m88k.h, config/mips/mips.h,
config/sparc/pbd.h, config/stormy16/stormy16.h, config/vax/vaxv.h:
Remove all references to SCCS_DIRECTIVE.
* doc/cpp.texi, doc/tm.texi: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55542 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cpplib.c')
-rw-r--r-- | gcc/cpplib.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/gcc/cpplib.c b/gcc/cpplib.c index f61f7e68ead..c87572aba12 100644 --- a/gcc/cpplib.c +++ b/gcc/cpplib.c @@ -162,14 +162,7 @@ D(ident, T_IDENT, EXTENSION, IN_I) /* 11 */ \ D(import, T_IMPORT, EXTENSION, INCL | EXPAND) /* 0 ObjC */ \ D(assert, T_ASSERT, EXTENSION, 0) /* 0 SVR4 */ \ D(unassert, T_UNASSERT, EXTENSION, 0) /* 0 SVR4 */ \ -SCCS_ENTRY /* 0 SVR4? */ - -/* #sccs is not always recognized. */ -#ifdef SCCS_DIRECTIVE -# define SCCS_ENTRY D(sccs, T_SCCS, EXTENSION, 0) -#else -# define SCCS_ENTRY /* nothing */ -#endif +D(sccs, T_SCCS, EXTENSION, 0) /* 0 SVR4? */ /* Use the table to generate a series of prototypes, an enum for the directive names, and an array of directive handlers. */ @@ -1319,14 +1312,12 @@ _cpp_do__Pragma (pfile) } } -/* Just ignore #sccs, on systems where we define it at all. */ -#ifdef SCCS_DIRECTIVE +/* Just ignore #sccs on all systems. */ static void do_sccs (pfile) cpp_reader *pfile ATTRIBUTE_UNUSED; { } -#endif /* Handle #ifdef. */ static void |