Skip to content
Snippets Groups Projects
Commit 25f1b873 authored by Simon Marlow's avatar Simon Marlow
Browse files

[project @ 1997-11-10 11:39:17 by simonm]

Replace use of map() with foreach, to make the driver perl4 compatible
again.
parent 62dfd96c
No related merge requests found
......@@ -578,7 +578,9 @@ if ( $Status == 0 && $Only_generate_deps ) {
push (@MkDependHS_flags, "-s$BuildTag") if $BuildTag;
push (@MkDependHS_flags, "-D__HASKELL1__=$Haskell1Version");
# They're not (currently) needed, but we need to quote any -#include options
map(s/-#include.*$/'$&'/g, @Cmd_opts);
foreach (@Cmd_opts) {
s/-#include.*$/'$&'/g;
};
local($to_do) = "$MkDependHS @MkDependHS_flags -- @Cmd_opts -- @Input_file" ;
&run_something($to_do, 'Haskell dependencies');
exit $Status;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment