diff options
author | Neil Booth <neil@daikokuya.demon.co.uk> | 2001-10-21 21:03:48 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2001-10-21 21:03:48 +0000 |
commit | 77b1a9217b8359f417c7e090e857c464d2e8778a (patch) | |
tree | 077954c4a4f3e25d4a7bfbc4efdc3428750adc5c /gcc/toplev.h | |
parent | 5297e08564adcb6d396d0870df9c1df1d2c6aab9 (diff) | |
download | gcc-77b1a9217b8359f417c7e090e857c464d2e8778a.tar.gz |
langhooks.c (lang_hook_default_do_nothing, [...]): New defaults.
* langhooks.c (lang_hook_default_do_nothing,
lang_hook_default_decode_option): New defaults.
* langhooks.h: Make hooks unconditional and non-NULL.
* toplev.c (compile_file, toplev_main): Update.
* toplev.h: Update comments.
* objc/objc-act.c (lang_hooks): Update to new paradigm.
From-SVN: r46396
Diffstat (limited to 'gcc/toplev.h')
-rw-r--r-- | gcc/toplev.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/toplev.h b/gcc/toplev.h index 61a277c3766..4203207f096 100644 --- a/gcc/toplev.h +++ b/gcc/toplev.h @@ -138,7 +138,7 @@ struct lang_hooks_for_tree_inlining int (*anon_aggr_type_p) PARAMS ((union tree_node *)); }; -/* Language-specific hooks. Can be NULL unless otherwise specified. */ +/* Language-specific hooks. See langhooks.h for defaults. */ struct lang_hooks { @@ -158,9 +158,7 @@ struct lang_hooks option. If this function returns a negative number, then its absolute value is the number of command-line arguments used, but, in addition, no language-independent option processing should be - done for this option. - - This hook cannot be NULL. */ + done for this option. */ int (*decode_option) PARAMS ((int, char **)); /* Called when all command line options have been processed. */ |