diff options
author | Dave Brolley <brolley@cygnus.com> | 1998-12-09 12:47:28 +0000 |
---|---|---|
committer | Dave Brolley <brolley@gcc.gnu.org> | 1998-12-09 07:47:28 -0500 |
commit | 5d7da2c6d9b94249232b4a5ffaaddf916cb336da (patch) | |
tree | 697603bcf069d435325380ad16d343f64b6291ff /gcc/c-decl.c | |
parent | 33964bf4af75b5e6de8ef1b51979a6d96032b54b (diff) | |
download | gcc-5d7da2c6d9b94249232b4a5ffaaddf916cb336da.zip gcc-5d7da2c6d9b94249232b4a5ffaaddf916cb336da.tar.gz gcc-5d7da2c6d9b94249232b4a5ffaaddf916cb336da.tar.bz2 |
c-lang.c: (parse_options,parse_in): Added.
Wed Dec 9 15:29:26 1998 Dave Brolley <brolley@cygnus.com>
* c-lang.c: (parse_options,parse_in): Added.
(lang_init_options): Initialized cpplib here.
* c-decl.c (parse_options,cpp_initialized): Removed.
(c_decode_option): Move initialization of cpplib to
lang_init_options.
From-SVN: r24219
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r-- | gcc/c-decl.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 7e10ab4..9066bea 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -37,9 +37,7 @@ Boston, MA 02111-1307, USA. */ #if USE_CPPLIB #include "cpplib.h" -extern cpp_reader parse_in; -extern cpp_options parse_options; -static int cpp_initialized; +extern cpp_reader parse_in; #endif /* In grokdeclarator, distinguish syntactic contexts of declarators. */ @@ -615,13 +613,6 @@ c_decode_option (argc, argv) int strings_processed; char *p = argv[0]; #if USE_CPPLIB - if (! cpp_initialized) - { - cpp_reader_init (&parse_in); - parse_in.opts = &parse_options; - cpp_options_init (&parse_options); - cpp_initialized = 1; - } strings_processed = cpp_handle_option (&parse_in, argc, argv); #else strings_processed = 0; |