summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-05-02 22:55:39 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-05-02 22:56:06 -0400
commit1488f6752376174925983ac3a9becf1f2ac0cbc7 (patch)
tree5b25741fa6b9004e486366f4c8cb21990847916c /Build
parenta3f3210b318ae0999a06ea0a81f30855082e5e69 (diff)
EvilSplicer: fix handling of newlines in multiline strings
Diffstat (limited to 'Build')
-rw-r--r--Build/EvilSplicer.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/EvilSplicer.hs b/Build/EvilSplicer.hs
index b7ea0b72e..642e2a03e 100644
--- a/Build/EvilSplicer.hs
+++ b/Build/EvilSplicer.hs
@@ -358,7 +358,7 @@ mangleCode = flip_colon
string "\\\n"
many1 $ oneOf " \t"
string "\\"
- return ""
+ return "\\n"
{- GHC outputs splices using explicit braces rather than layout.
- For a case expression, it does something weird: