summaryrefslogtreecommitdiff
path: root/gcc/f
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-26 06:05:36 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-26 06:05:36 +0000
commit2968917904553e903fa5741da3c4a5889ca6b8ae (patch)
treea9ea757e9e1db36f41e321d59fa201fe81c41dee /gcc/f
parentf44536f8057ba1d03fd2aa681e37e6fd2c290e2e (diff)
downloadgcc-2968917904553e903fa5741da3c4a5889ca6b8ae.tar.gz
* c-opts.c (missing_arg): Make non-static.
(c_common_handle_option): Don't check for missing arguments. * opts.c (handle_option): Check for missing arguments. ada: * misc.c (gnat_handle_option): Don't check for missing arguments. f: * top.c (ffe_handle_option): Don't check for missing arguments. java: * lang.c (java_handle_option): Don't check for missing arguments. testsuite: * const-str-2.m: Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68517 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/f')
-rw-r--r--gcc/f/ChangeLog4
-rw-r--r--gcc/f/top.c7
2 files changed, 4 insertions, 7 deletions
diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog
index 8d1b3858f3a..e1ac7ac5b91 100644
--- a/gcc/f/ChangeLog
+++ b/gcc/f/ChangeLog
@@ -1,3 +1,7 @@
+Thu Jun 26 07:06:29 2003 Neil Booth <neil@daikokuya.co.uk>
+
+ * top.c (ffe_handle_option): Don't check for missing arguments.
+
Wed Jun 25 06:52:12 2003 Neil Booth <neil@daikokuya.co.uk>
* top.c (ffe_handle_option): Add missing break;.
diff --git a/gcc/f/top.c b/gcc/f/top.c
index 36cdaa6f821..359dd2b8d32 100644
--- a/gcc/f/top.c
+++ b/gcc/f/top.c
@@ -175,19 +175,12 @@ ffe_init_options ()
int
ffe_handle_option (size_t scode, const char *arg, int value)
{
- const struct cl_option *option = &cl_options[scode];
enum opt_code code = (enum opt_code) scode;
/* Ignore file names. */
if (code == N_OPTS)
return 1;
- if (arg == NULL && (option->flags & (CL_JOINED | CL_SEPARATE)))
- {
- error ("missing argument to \"-%s\"", option->opt_text);
- return 1;
- }
-
switch (code)
{
default: