From 1488f6752376174925983ac3a9becf1f2ac0cbc7 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 2 May 2013 22:55:39 -0400 Subject: EvilSplicer: fix handling of newlines in multiline strings --- Build/EvilSplicer.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Build') 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: -- cgit v1.2.3