diff options
author | Neil Booth <neil@daikokuya.co.uk> | 2003-07-06 19:01:21 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2003-07-06 19:01:21 +0000 |
commit | cb66e3859075ec552fbb04ca253455c46e760696 (patch) | |
tree | 2c35f94351c2c6323b73a7de33df3a43dba7c2d2 /gcc/ada | |
parent | f55ade6e34ae3da57dd1a270c4bee55ad4f85cf5 (diff) | |
download | gcc-cb66e3859075ec552fbb04ca253455c46e760696.zip gcc-cb66e3859075ec552fbb04ca253455c46e760696.tar.gz gcc-cb66e3859075ec552fbb04ca253455c46e760696.tar.bz2 |
c-common.h (c_comon_handle_filename, [...]): New.
* c-common.h (c_comon_handle_filename,
c_common_missing_arguement): New.
* c-lang.c (LANG_HOOKS_HANDLE_FILENAME,
LANG_HOOKS_MISSING_ARGUMENT): New.
* c-opts.c (missing_arg): Rename c_common_missing_argument,
update to be an appropriate langhook.
(c_common_handle_option): Don't handle filenames.
(c_common_handle_filename): New.
* hooks.c (hook_void_constcharptr,
hook_bool_constcharptr_size_t_false): New.
* hooks.h (hook_void_constcharptr,
hook_bool_constcharptr_size_t_false): New.
* langhooks-def.h (LANG_HOOKS_HANDLE_FILENAME,
LANG_HOOKS_MISSING_ARGUMENT): New.
(LANG_HOOKS_INITIALIZER): Update.
* langhooks.h (struct lang_hooks): Add handle_filename and
missing_argument.
* opts.c (handle_option): Don't handle filenames here, but ...
(handle_options): ... here.
(common_handle_option): Don't handle missing arguments here.
* objc/objc-lang.c (LANG_HOOKS_HANDLE_FILENAME,
LANG_HOOKS_MISSING_ARGUMENT): New.
ada:
* misc.c (gnat_handle_option): Don't handle filenames.
cp:
* cp-lang.c (LANG_HOOKS_HANDLE_FILENAME,
LANG_HOOKS_MISSING_ARGUMENT): Override.
f:
* top.c (ffe_handle_option): Don't handle filenames.
java:
* lang.c (java_handle_option): Don't handle filenames.
From-SVN: r69011
Diffstat (limited to 'gcc/ada')
-rw-r--r-- | gcc/ada/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/ada/misc.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 53916bb..467111f 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,7 @@ +2003-07-06 Neil Booth <neil@daikokuya.co.uk> + + * misc.c (gnat_handle_option): Don't handle filenames. + 2003-07-04 H.J. Lu <hongjiu.lu@intel.com> * Make-lang.in: Replace PWD with PWD_COMMAND. diff --git a/gcc/ada/misc.c b/gcc/ada/misc.c index ca9a036..60232bf 100644 --- a/gcc/ada/misc.c +++ b/gcc/ada/misc.c @@ -226,10 +226,6 @@ gnat_handle_option (size_t scode, const char *arg, int value ATTRIBUTE_UNUSED) char *q; unsigned int i; - /* Ignore file names. */ - if (code == N_OPTS) - return 1; - switch (code) { default: |