Integrate cpplib into the C and C++ front ends.
authorDave Brolley <brolley@cygnus.com>
Wed, 10 Jun 1998 10:12:36 +0000 (10:12 +0000)
committerDave Brolley <brolley@gcc.gnu.org>
Wed, 10 Jun 1998 10:12:36 +0000 (06:12 -0400)
commita0d85b7572a80c023a0eef537a8c94e6af280c51
tree34e222e6636a47fccb9290f46b926d67612b47a9
parent0875c2f39b0d864b3dcd220b4f594b58d48e82f1
Integrate cpplib into the C and C++ front ends.

Wed Jun 10 13:07:02 1998  Dave Brolley  <brolley@cygnus.com>
* objc/objc-act.c: Add cpplib declarations.
(lang_decode_option): Initialize cpplib if necessary.
(lang_decode_option): New argc/argv interface.
* tree.h (lang_decode_option): New argc/argv interface.
* toplev.c (lang_options): Add cpp options.
(main): New interface for lang_decode_option.
* gcc.c (default_compilers): Don't call cpp for a cpplib-enabled C compiler
unless -E, -M or -MM is specified.
* cpplib.h (cpp_handle_option): New function.
* cpplib.c (cpp_handle_option): New function.
(cpp_handle_options): Now calls cpp_handle_option.
* c-tree.h (c_decode_option): New argc/argv interface.
* c-lex.c (init_parse): cpplib now initialized in c_decode_option.
* c-lang.c (lang_decode_option): New argc/argv interface.
* c-decl.c: Add cpplib declarations.
(c_decode_option): New argc/argv interface.
(c_decode_option): Call cpp_handle_option.
(c_decode_option): Now returns number of strings processed.

From-SVN: r20407
gcc/ChangeLog
gcc/LANGUAGES
gcc/c-decl.c
gcc/c-lang.c
gcc/c-lex.c
gcc/c-tree.h
gcc/cpplib.c
gcc/cpplib.h
gcc/gcc.c
gcc/toplev.c
gcc/tree.h