[project @ 1999-07-29 09:08:26 by simonmar]
[ghc-hetmet.git] / ghc / utils / hscpp / hscpp.prl
index 5c08b9b..fb1bf46 100644 (file)
@@ -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: