diff options
author | sof <unknown> | 1999-07-29 16:28:20 +0000 |
---|---|---|
committer | sof <unknown> | 1999-07-29 16:28:20 +0000 |
commit | a5d4d171bc1ab7c48a33e55f577fc04f9c40a895 (patch) | |
tree | 0d204dcef449d20e50a9196559f5f52811d4e617 /ghc/utils | |
parent | 5b8f8425fe043fbbf32c8768a709ca20e98b115b (diff) | |
download | haskell-a5d4d171bc1ab7c48a33e55f577fc04f9c40a895.tar.gz |
[project @ 1999-07-29 16:28:20 by sof]
Removed rather odd quote-removal sed patterns; surely not needed... (they were causing CPP trouble)
Diffstat (limited to 'ghc/utils')
-rw-r--r-- | ghc/utils/mkdependHS/mkdependHS.prl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ghc/utils/mkdependHS/mkdependHS.prl b/ghc/utils/mkdependHS/mkdependHS.prl index 3cd94bdbff..ef1d670182 100644 --- a/ghc/utils/mkdependHS/mkdependHS.prl +++ b/ghc/utils/mkdependHS/mkdependHS.prl @@ -389,8 +389,7 @@ sub slurp_file_for_imports { local ($open_cmd); if ($Cpp_flag_set) { -# $open_cmd = "${SED} -e '/^# *include/{p;s/^# *include/!include/;};s/'\\''//g;s/\"//g' $file_to_read | $Cpp $Include_dirs -I$last_seen_dir @Defines |"; - &run_something("${SED} -e '/^# *include/{p;s/^# *include/!include/;};s/'\\''//g;s/\"//g' $file_to_read | $Cpp $Include_dirs -I$last_seen_dir @Defines - 2>&1 > ${file_to_read}.i", $orig_src_file, 'cpp'); + &run_something("${SED} -e '/^# *include/{p;s/^# *include/!include/;}' $file_to_read | $Cpp $Include_dirs -I$last_seen_dir @Defines - 2>&1 > ${file_to_read}.i", $orig_src_file, 'cpp'); $read_from_file="${file_to_read}.i"; $cleanup=1; } else { |