prettyprint.backend: use , not % in unparse-ch.

db4
John Benediktsson 2014-09-30 08:23:32 -07:00
parent 655797ff34
commit 3fdea2c66b
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ M: f pprint* drop \ f pprint-word ;
} ?at ; inline
: unparse-ch ( ch -- )
ch>ascii-escape [ "\\" % , ] [
ch>ascii-escape [ CHAR: \\ , , ] [
dup 32 < [ dup 16 < "\\x0" "\\x" ? % >hex % ] [ , ] if
] if ;