diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-05-22 05:40:22 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-05-22 05:40:22 +0000 |
commit | dd436eaf083edae4ced4382303bc9b09f72328c8 (patch) | |
tree | 393799da65fb9425b665931be188539dc56ed666 /gcc/cp/lex.c | |
parent | 77f2677453e3dbe2d205d8af1e28c95828255961 (diff) | |
download | gcc-dd436eaf083edae4ced4382303bc9b09f72328c8.tar.gz |
PR preprocessor/6517
* Makefile.in: Update.
* c-common.c (c_common_post_options): Add preprocessor
errors to the error count.
* c-lang.c (c_post_options): Kill.
(LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.
* hooks.h: Add header guards.
* langhooks-def.h: Include hooks.h.
(LANG_HOOKS_POST_OPTIONS): Update.
* langhooks.h (struct lang_hooks): Update post_options.
* toplev.c (parse_options_and_default_flags): Update.
cp:
* cp-lang.c (LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.
* cp-tree.h (cxx_post_options): Kill.
* cp-lex.c (cxx_post_options): Kill.
objc:
* objc-lang.c (objc_post_options): Kill.
(LANG_HOOKS_POST_OPTIONS): Use c_common_post_options.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53724 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/lex.c')
-rw-r--r-- | gcc/cp/lex.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/gcc/cp/lex.c b/gcc/cp/lex.c index a1f35d4965c..91931d4c4cd 100644 --- a/gcc/cp/lex.c +++ b/gcc/cp/lex.c @@ -1,6 +1,6 @@ /* Separate lexical analyzer for GNU C++. Copyright (C) 1987, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, - 1999, 2000, 2001 Free Software Foundation, Inc. + 1999, 2000, 2001, 2002 Free Software Foundation, Inc. Hacked by Michael Tiemann (tiemann@cygnus.com) This file is part of GNU CC. @@ -203,13 +203,6 @@ int interface_unknown; /* whether or not we know this class to behave according to #pragma interface. */ -/* Post-switch processing. */ -void -cxx_post_options () -{ - c_common_post_options (); -} - /* Initialization before switch parsing. */ void cxx_init_options () |