From bcad470839ff031af9e17801279d7f1dc3d07719 Mon Sep 17 00:00:00 2001 From: simonmar Date: Thu, 29 Jul 1999 09:08:26 +0000 Subject: [PATCH] [project @ 1999-07-29 09:08:26 by simonmar] The hscpp saga continues, this time mysterious 2's are appearing in my files. --- ghc/utils/hscpp/hscpp.prl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 1.7.10.4