From 2214382ca9c3dc847aedfbd60fa50e906445fd8c Mon Sep 17 00:00:00 2001 From: Neil Vachharajani Date: Sat, 10 Oct 2009 00:34:21 +0000 Subject: [PATCH] directives.c (DIRECTIVE_TABLE): Remove DEPRECATED from ident and sccs. 2009-10-09 Neil Vachharajani * libcpp/directives.c (DIRECTIVE_TABLE): Remove DEPRECATED from ident and sccs. * gcc/doc/cpp.texi (Other Directives): Do not list #ident and #sccs as deprecated. From-SVN: r152612 --- gcc/ChangeLog | 5 +++++ gcc/doc/cpp.texi | 2 -- libcpp/ChangeLog | 5 +++++ libcpp/directives.c | 4 ++-- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 50aebde2139..b91b6ccdd61 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2009-10-09 Neil Vachharajani + + * doc/cpp.texi (Other Directives): Do not list #ident and #sccs as + deprecated. + 2009-10-09 Richard Guenther PR lto/41638 diff --git a/gcc/doc/cpp.texi b/gcc/doc/cpp.texi index ce4c0c3ff5d..590630cee0d 100644 --- a/gcc/doc/cpp.texi +++ b/gcc/doc/cpp.texi @@ -3609,8 +3609,6 @@ These directives are not part of the C standard, but they are not official GNU extensions either. What historical information we have been able to find, suggests they originated with System V@. -Both @samp{#ident} and @samp{#sccs} are deprecated extensions. - @cindex null directive The @dfn{null directive} consists of a @samp{#} followed by a newline, with only whitespace (including comments) in between. A null directive diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 7a30a8426f9..4672abed750 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,8 @@ +2009-10-09 Neil Vachharajani + + * directives.c (DIRECTIVE_TABLE): Remove DEPRECATED from ident and + sccs. + 2009-09-23 Loren J. Rittle * configure.ac (AC_CHECK_HEADERS after AC_LANG(C++)): Add sys/stat.h. diff --git a/libcpp/directives.c b/libcpp/directives.c index c5a1895b86e..f9dba539ea2 100644 --- a/libcpp/directives.c +++ b/libcpp/directives.c @@ -151,11 +151,11 @@ D(error, T_ERROR, STDC89, 0) /* 475 */ \ D(pragma, T_PRAGMA, STDC89, IN_I) /* 195 */ \ D(warning, T_WARNING, EXTENSION, 0) /* 22 */ \ D(include_next, T_INCLUDE_NEXT, EXTENSION, INCL | EXPAND) /* 19 */ \ -D(ident, T_IDENT, EXTENSION, IN_I | DEPRECATED) /* 11 */ \ +D(ident, T_IDENT, EXTENSION, IN_I) /* 11 */ \ D(import, T_IMPORT, EXTENSION, INCL | EXPAND) /* 0 ObjC */ \ D(assert, T_ASSERT, EXTENSION, DEPRECATED) /* 0 SVR4 */ \ D(unassert, T_UNASSERT, EXTENSION, DEPRECATED) /* 0 SVR4 */ \ -D(sccs, T_SCCS, EXTENSION, IN_I | DEPRECATED) /* 0 SVR4? */ +D(sccs, T_SCCS, EXTENSION, IN_I) /* 0 SVR4? */ /* #sccs is synonymous with #ident. */ #define do_sccs do_ident -- 2.30.2