diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2001-01-10 07:51:11 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2001-01-10 07:51:11 +0000 |
commit | ee811cfdfaa9b3dee676e33fcf5853864255a04a (patch) | |
tree | 9722a0d53a90eb7c3efcda64249217ac59a4b20b /gcc/f | |
parent | 8541c24be9cdf2943f93bea51a3227647978556c (diff) | |
download | gcc-ee811cfdfaa9b3dee676e33fcf5853864255a04a.zip gcc-ee811cfdfaa9b3dee676e33fcf5853864255a04a.tar.gz gcc-ee811cfdfaa9b3dee676e33fcf5853864255a04a.tar.bz2 |
c-lang.c (lang_hooks): Update.
* c-lang.c (lang_hooks): Update.
(lang_decode_option): Remove.
(lang_init_options): Rename c_init_options.
* toplev.c (main): Use lang_hooks for lang_init_options
and lang_decode_option.
* toplev.h (lang_hooks): Add 2 new hooks.
* tree.h: Remove lang_init_options and lang_decode_option.
* cp/cp-tree.h (lang_decode_option): Rename cxx_decode_option.
* cp/decl2.c: Similarly.
* cp/lex.c (lang_init_options): Rename cxx_init_options.
(lang_hooks): Update.
* f/com.c (f_init, f_finish): Rename ffe_init, ffe_finish
for consistency.
(lang_init_options): Rename ffe_init_options.
(lang_hooks): Update.
(lang_decode_option): Remove.
* java/lang.c (lang_init_options): Rename java_init_options.
(lang_decode_option): Rename java_decode_option.
(lang_hooks): Update.
* objc/objc-act.c (lang_init_options): Rename objc_init_options.
(lang_decode_option): Rename objc_decode_option.
(lang_hooks): Update.
From-SVN: r38856
Diffstat (limited to 'gcc/f')
-rw-r--r-- | gcc/f/com.c | 29 |
1 files changed, 12 insertions, 17 deletions
diff --git a/gcc/f/com.c b/gcc/f/com.c index cdd48bf..3e66467 100644 --- a/gcc/f/com.c +++ b/gcc/f/com.c @@ -14677,21 +14677,16 @@ insert_block (block) } /* Each front end provides its own. */ -static void f_init PARAMS ((void)); -static void f_finish PARAMS ((void)); - -struct lang_hooks lang_hooks = {f_init, - f_finish, +static void ffe_init PARAMS ((void)); +static void ffe_finish PARAMS ((void)); +static void ffe_init_options PARAMS ((void)); + +struct lang_hooks lang_hooks = {ffe_init, + ffe_finish, + ffe_init_options, + ffe_decode_option, NULL /* post_options */}; -int -lang_decode_option (argc, argv) - int argc; - char **argv; -{ - return ffe_decode_option (argc, argv); -} - /* used by print-tree.c */ void @@ -14703,7 +14698,7 @@ lang_print_xnode (file, node, indent) } static void -f_finish () +ffe_finish () { ffe_terminate_0 (); @@ -14732,8 +14727,8 @@ lang_get_alias_set (t) return 0; } -void -lang_init_options () +static void +ffe_init_options () { /* Set default options for Fortran. */ flag_move_all_movables = 1; @@ -14744,7 +14739,7 @@ lang_init_options () } static void -f_init () +ffe_init () { /* If the file is output from cpp, it should contain a first line `# 1 "real-filename"', and the current design of gcc (toplev.c |