projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97372c1
)
[project @ 1999-07-29 09:08:26 by simonmar]
author
simonmar
<unknown>
Thu, 29 Jul 1999 09:08:26 +0000
(09:08 +0000)
committer
simonmar
<unknown>
Thu, 29 Jul 1999 09:08:26 +0000
(09:08 +0000)
The hscpp saga continues, this time mysterious 2's are appearing in my
files.
ghc/utils/hscpp/hscpp.prl
patch
|
blob
|
history
diff --git
a/ghc/utils/hscpp/hscpp.prl
b/ghc/utils/hscpp/hscpp.prl
index
5c08b9b
..
fb1bf46
100644
(file)
--- 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: