[project @ 2000-05-18 14:22:26 by panne]
authorpanne <unknown>
Thu, 18 May 2000 14:22:26 +0000 (14:22 +0000)
committerpanne <unknown>
Thu, 18 May 2000 14:22:26 +0000 (14:22 +0000)
'-#include <foo.h>' gobbled the following option. Fixed.

ghc/utils/mkdependHS/mkdependHS.prl

index 93d08b3..02e2a10 100644 (file)
@@ -239,7 +239,7 @@ sub mangle_command_line_args {
        } elsif ( /^-concurrent$/ ) {
            push(@Syslibs, 'concurrent');
        } elsif (/^-#include(.*)/) {
-           &grab_arg_arg(*Args,$_,'');
+           &grab_arg_arg(*Args,'-#include',$1);
        } elsif ($Dashdashes_seen != 1) { # not between -- ... --
            if ( /^-v$/ ) {
                $Verbose++;