diff options
author | Joey Hess <joey@kitenet.net> | 2013-05-02 22:55:39 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-05-02 22:56:06 -0400 |
commit | 1488f6752376174925983ac3a9becf1f2ac0cbc7 (patch) | |
tree | 5b25741fa6b9004e486366f4c8cb21990847916c /Build | |
parent | a3f3210b318ae0999a06ea0a81f30855082e5e69 (diff) |
EvilSplicer: fix handling of newlines in multiline strings
Diffstat (limited to 'Build')
-rw-r--r-- | Build/EvilSplicer.hs | 2 |
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: |