Skip to content

Commit 7b5c81f

Browse files
committed
Merge with upstream
2 parents 221b8f1 + 351d8b1 commit 7b5c81f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

interpreter/text/arrange.ml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ let nat32 = I32.to_string_u
1515
let add_hex_char buf c = Printf.bprintf buf "\\%02x" (Char.code c)
1616
let add_char buf = function
1717
| '\n' -> Buffer.add_string buf "\\n"
18+
| '\r' -> Buffer.add_string buf "\\r"
1819
| '\t' -> Buffer.add_string buf "\\t"
20+
| '\'' -> Buffer.add_string buf "\\'"
1921
| '\"' -> Buffer.add_string buf "\\\""
2022
| '\\' -> Buffer.add_string buf "\\\\"
2123
| c when '\x20' <= c && c < '\x7f' -> Buffer.add_char buf c

0 commit comments

Comments
 (0)