directives.c (DIRECTIVE_TABLE): Remove DEPRECATED from ident and sccs.

2009-10-09  Neil Vachharajani <nvachhar@google.com>

       * 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
This commit is contained in:
Neil Vachharajani 2009-10-10 00:34:21 +00:00 committed by Neil Vachharajani
parent 98f4c2a362
commit 2214382ca9
4 changed files with 12 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2009-10-09 Neil Vachharajani <nvachhar@google.com>
* doc/cpp.texi (Other Directives): Do not list #ident and #sccs as
deprecated.
2009-10-09 Richard Guenther <rguenther@suse.de> 2009-10-09 Richard Guenther <rguenther@suse.de>
PR lto/41638 PR lto/41638

View file

@ -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 official GNU extensions either. What historical information we have
been able to find, suggests they originated with System V@. been able to find, suggests they originated with System V@.
Both @samp{#ident} and @samp{#sccs} are deprecated extensions.
@cindex null directive @cindex null directive
The @dfn{null directive} consists of a @samp{#} followed by a newline, The @dfn{null directive} consists of a @samp{#} followed by a newline,
with only whitespace (including comments) in between. A null directive with only whitespace (including comments) in between. A null directive

View file

@ -1,3 +1,8 @@
2009-10-09 Neil Vachharajani <nvachhar@google.com>
* directives.c (DIRECTIVE_TABLE): Remove DEPRECATED from ident and
sccs.
2009-09-23 Loren J. Rittle <ljrittle@acm.org> 2009-09-23 Loren J. Rittle <ljrittle@acm.org>
* configure.ac (AC_CHECK_HEADERS after AC_LANG(C++)): Add sys/stat.h. * configure.ac (AC_CHECK_HEADERS after AC_LANG(C++)): Add sys/stat.h.

View file

@ -151,11 +151,11 @@ D(error, T_ERROR, STDC89, 0) /* 475 */ \
D(pragma, T_PRAGMA, STDC89, IN_I) /* 195 */ \ D(pragma, T_PRAGMA, STDC89, IN_I) /* 195 */ \
D(warning, T_WARNING, EXTENSION, 0) /* 22 */ \ D(warning, T_WARNING, EXTENSION, 0) /* 22 */ \
D(include_next, T_INCLUDE_NEXT, EXTENSION, INCL | EXPAND) /* 19 */ \ 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(import, T_IMPORT, EXTENSION, INCL | EXPAND) /* 0 ObjC */ \
D(assert, T_ASSERT, EXTENSION, DEPRECATED) /* 0 SVR4 */ \ D(assert, T_ASSERT, EXTENSION, DEPRECATED) /* 0 SVR4 */ \
D(unassert, T_UNASSERT, 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. */ /* #sccs is synonymous with #ident. */
#define do_sccs do_ident #define do_sccs do_ident