From: simonmar Date: Thu, 29 Jul 1999 09:08:26 +0000 (+0000) Subject: [project @ 1999-07-29 09:08:26 by simonmar] X-Git-Tag: Approximately_9120_patches~5936 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=bcad470839ff031af9e17801279d7f1dc3d07719 [project @ 1999-07-29 09:08:26 by simonmar] The hscpp saga continues, this time mysterious 2's are appearing in my files. --- diff --git a/ghc/utils/hscpp/hscpp.prl b/ghc/utils/hscpp/hscpp.prl index 5c08b9b..fb1bf46 100644 --- a/ghc/utils/hscpp/hscpp.prl +++ b/ghc/utils/hscpp/hscpp.prl @@ -37,7 +37,7 @@ open(INPIPE, "$Cpp @args - <$file |") while () { s/^#\s*line\s+(\d+)\s+\"\"$/\{\-# LINE \1 \"$file\" \-\}/; - s/^#\s*(\d+)\s+\"\"/\{\-# LINE \1 \"$file\" \-\}/; + s/^#\s*(\d+)\s+\"\".*/\{\-# LINE \1 \"$file\" \-\}/; # line directives come in flavo[u]rs: