diff options
author | Dave Brolley <brolley@cygnus.com> | 1998-06-10 10:12:36 +0000 |
---|---|---|
committer | Dave Brolley <brolley@gcc.gnu.org> | 1998-06-10 06:12:36 -0400 |
commit | a0d85b7572a80c023a0eef537a8c94e6af280c51 (patch) | |
tree | 34e222e6636a47fccb9290f46b926d67612b47a9 /gcc/LANGUAGES | |
parent | 0875c2f39b0d864b3dcd220b4f594b58d48e82f1 (diff) | |
download | gcc-a0d85b7572a80c023a0eef537a8c94e6af280c51.zip gcc-a0d85b7572a80c023a0eef537a8c94e6af280c51.tar.gz gcc-a0d85b7572a80c023a0eef537a8c94e6af280c51.tar.bz2 |
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
Diffstat (limited to 'gcc/LANGUAGES')
-rw-r--r-- | gcc/LANGUAGES | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/LANGUAGES b/gcc/LANGUAGES index a72b9e0..bce134c 100644 --- a/gcc/LANGUAGES +++ b/gcc/LANGUAGES @@ -6,6 +6,13 @@ time as we can formally start documenting the interface this file will serve as a repository for information on these interface and any incompatable changes we've made. +Jun 10, 1998: + The interface to lang_decode_option has changed. It now uses and argc/argv + interface to allow for options that use more than one input string. The new + declaration is: int lang_decode_option (int argc, char** argv). It now + returns the number of input strings processed, or 0 if the option is + unknown. + Jun 7, 1998: Front-ends must now define lang_init_options. It is safe for this function to do nothing. See c-lang.c. |