From e70a969ef17b16162b53266b60876814ebaeaa9b Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 2 May 2013 22:55:39 -0400 Subject: [PATCH] EvilSplicer: fix handling of newlines in multiline strings --- Build/EvilSplicer.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Build/EvilSplicer.hs b/Build/EvilSplicer.hs index b7ea0b72ed..642e2a03e2 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: