@@ -382,7 +382,7 @@ prettyPrintCpp1 :: AST -> Text
382prettyPrintCpp1 = maybe (internalError "Incomplete pattern") runPlainString . flip evalStateT (PrinterState 0) . prettyPrintCpp'
382prettyPrintCpp1 = maybe (internalError "Incomplete pattern") runPlainString . flip evalStateT (PrinterState 0) . prettyPrintCpp'
384stringLiteral :: Text -> Text
384stringLiteral :: Text -> Text
385−stringLiteral s = "\"" <> s <> "\""
385+stringLiteral s = "\"" <> (T.replace "\\" "\\\\" s) <> "\""
387unbox :: Text -> AST -> Text
387unbox :: Text -> AST -> Text
388unbox _ v@(NumericLiteral{}) = prettyPrintCpp1 v
388unbox _ v@(NumericLiteral{}) = prettyPrintCpp1 v