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/c-tree.h | |
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/c-tree.h')
-rw-r--r-- | gcc/c-tree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-tree.h b/gcc/c-tree.h index 6fa5c47..a2a76c0 100644 --- a/gcc/c-tree.h +++ b/gcc/c-tree.h @@ -263,7 +263,7 @@ extern tree build_enumerator PROTO((tree, tree)); extern tree builtin_function PROTO((char *, tree, enum built_in_function function_, char *)); /* Add qualifiers to a type, in the fashion for C. */ extern tree c_build_type_variant PROTO((tree, int, int)); -extern int c_decode_option PROTO((char *)); +extern int c_decode_option PROTO((int, char **)); extern void c_mark_varargs PROTO((void)); extern tree check_identifier PROTO((tree, tree)); extern void clear_parm_order PROTO((void)); |