[project @ 1998-01-09 13:29:50 by sof]
authorsof <unknown>
Fri, 9 Jan 1998 13:29:50 +0000 (13:29 +0000)
committersof <unknown>
Fri, 9 Jan 1998 13:29:50 +0000 (13:29 +0000)
Removed support for picking up plausible source file
names inside the ghc options chunk of the command
line. It failed to deal with `option-value' stuff present
on some invocations of ghc (e.g., "-ohi foo.baz").

ghc/utils/mkdependHS/mkdependHS.prl

index 6730845..79ca346 100644 (file)
@@ -285,10 +285,16 @@ sub mangle_command_line_args {
            } else {
                push(@Src_files, $_);
            }
-
-       } elsif ($Dashdashes_seen == 1) { # where we ignore unknown options
-           push(@Src_files, $_) if ! /^-/;
-       }
+        }
+        # Removed support for picking up plausible source file 
+        # names inside the ghc options chunk of the command
+        # line. It failed to deal with `option-value' stuff present
+        # on some invocations of ghc (e.g., "-ohi foo.baz").
+        #  -- sof 12/97
+       #
+       # } elsif ($Dashdashes_seen == 1) {
+       #     push(@Src_files, $_) if ! /^-/;
+       # }
     }
     @File_suffix = sort (@File_suffix);
 }