summaryrefslogtreecommitdiff
path: root/ghc/utils
diff options
context:
space:
mode:
authorsimonmar <unknown>1999-07-29 09:08:26 +0000
committersimonmar <unknown>1999-07-29 09:08:26 +0000
commitbcad470839ff031af9e17801279d7f1dc3d07719 (patch)
tree08a123a0d3cbc736567fc3cb2927f1f11326719c /ghc/utils
parent97372c19ce6514f598f4dcf3211b6801699ab133 (diff)
downloadhaskell-bcad470839ff031af9e17801279d7f1dc3d07719.tar.gz
[project @ 1999-07-29 09:08:26 by simonmar]
The hscpp saga continues, this time mysterious 2's are appearing in my files.
Diffstat (limited to 'ghc/utils')
-rw-r--r--ghc/utils/hscpp/hscpp.prl2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/utils/hscpp/hscpp.prl b/ghc/utils/hscpp/hscpp.prl
index 5c08b9b125..fb1bf46c36 100644
--- a/ghc/utils/hscpp/hscpp.prl
+++ b/ghc/utils/hscpp/hscpp.prl
@@ -37,7 +37,7 @@ open(INPIPE, "$Cpp @args - <$file |")
while (<INPIPE>) {
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: