We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1291af3 commit 351d8b1Copy full SHA for 351d8b1
interpreter/text/arrange.ml
@@ -14,7 +14,9 @@ let nat32 = I32.to_string_u
14
let add_hex_char buf c = Printf.bprintf buf "\\%02x" (Char.code c)
15
let add_char buf = function
16
| '\n' -> Buffer.add_string buf "\\n"
17
+ | '\r' -> Buffer.add_string buf "\\r"
18
| '\t' -> Buffer.add_string buf "\\t"
19
+ | '\'' -> Buffer.add_string buf "\\'"
20
| '\"' -> Buffer.add_string buf "\\\""
21
| '\\' -> Buffer.add_string buf "\\\\"
22
| c when '\x20' <= c && c < '\x7f' -> Buffer.add_char buf c
0 commit comments