EvilSplicer: fix handling of newlines in multiline strings

This commit is contained in:
Joey Hess 2013-05-02 22:55:39 -04:00
parent 9116580312
commit e70a969ef1

View file

@ -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: