aboutsummaryrefslogtreecommitdiff
path: root/gcc/cpplib.c
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.co.uk>2002-07-17 21:31:42 +0000
committerNeil Booth <neil@gcc.gnu.org>2002-07-17 21:31:42 +0000
commit74d06cf221682acc2ce3f55b52020e63c88f5a68 (patch)
treefe351c680db9579e33873d4fc5b985b8dde0266f /gcc/cpplib.c
parent61dde664e4595c54df930963a2f7b731a8566bc8 (diff)
downloadgcc-74d06cf221682acc2ce3f55b52020e63c88f5a68.zip
gcc-74d06cf221682acc2ce3f55b52020e63c88f5a68.tar.gz
gcc-74d06cf221682acc2ce3f55b52020e63c88f5a68.tar.bz2
cpplib.c (do_sccs): Handle #sccs on all systems.
* 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. From-SVN: r55542
Diffstat (limited to 'gcc/cpplib.c')
-rw-r--r--gcc/cpplib.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/gcc/cpplib.c b/gcc/cpplib.c
index f61f7e6..c87572a 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