From: sof Date: Thu, 29 Jul 1999 16:28:20 +0000 (+0000) Subject: [project @ 1999-07-29 16:28:20 by sof] X-Git-Tag: Approximately_9120_patches~5928 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=a5d4d171bc1ab7c48a33e55f577fc04f9c40a895;p=ghc-hetmet.git [project @ 1999-07-29 16:28:20 by sof] Removed rather odd quote-removal sed patterns; surely not needed... (they were causing CPP trouble) --- diff --git a/ghc/utils/mkdependHS/mkdependHS.prl b/ghc/utils/mkdependHS/mkdependHS.prl index 3cd94bd..ef1d670 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 {