diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2001-01-07 03:34:28 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2001-01-07 03:34:28 +0000 |
commit | cd2a3ba227ec911a49752265362a07008a50aac6 (patch) | |
tree | 4dc1d6254e96cddffb6b0b0b93145fa144532257 /gcc/c-lang.c | |
parent | 65289a3a42e60ebfe23f858ccfa0e66b13e844ed (diff) | |
download | gcc-cd2a3ba227ec911a49752265362a07008a50aac6.zip gcc-cd2a3ba227ec911a49752265362a07008a50aac6.tar.gz gcc-cd2a3ba227ec911a49752265362a07008a50aac6.tar.bz2 |
toplev.c (main): Call the front-end specific post_options hook if one is given.
* toplev.c (main): Call the front-end specific post_options
hook if one is given.
* toplev.h (struct_lang_hooks, lang_hooks): New.
* c-lang.c (c_post_options, lang_hooks): Implement lang_hooks
for the C front end.
* cp/decl2.c (cxx_post_options, lang_hooks): Implement
lang_hooks for the C++ front end.
* objc/objc-act.c (objc_post_options, lang_hooks): Implement
lang_hooks for the ObjC front end.
* f/com.c (lang_hooks): Hooks for the Fortran front end.
* java/lang.c (lang_hooks): Hooks for the Java front end.
From-SVN: r38757
Diffstat (limited to 'gcc/c-lang.c')
-rw-r--r-- | gcc/c-lang.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gcc/c-lang.c b/gcc/c-lang.c index b96895d..52f6015 100644 --- a/gcc/c-lang.c +++ b/gcc/c-lang.c @@ -38,10 +38,19 @@ Boston, MA 02111-1307, USA. */ static int c_tree_printer PARAMS ((output_buffer *)); static int c_missing_noreturn_ok_p PARAMS ((tree)); +static void c_post_options PARAMS ((void)); + +/* Each front end provides its own. */ +struct lang_hooks lang_hooks = {c_post_options}; + +/* Post-switch processing. */ +static void +c_post_options () +{ +} /* Each of the functions defined here is an alternative to a function in objc-actions.c. */ - int lang_decode_option (argc, argv) int argc; |