prettyprint.backend: use , not % in unparse-ch.
parent
655797ff34
commit
3fdea2c66b
|
@ -112,7 +112,7 @@ M: f pprint* drop \ f pprint-word ;
|
||||||
} ?at ; inline
|
} ?at ; inline
|
||||||
|
|
||||||
: unparse-ch ( ch -- )
|
: unparse-ch ( ch -- )
|
||||||
ch>ascii-escape [ "\\" % , ] [
|
ch>ascii-escape [ CHAR: \\ , , ] [
|
||||||
dup 32 < [ dup 16 < "\\x0" "\\x" ? % >hex % ] [ , ] if
|
dup 32 < [ dup 16 < "\\x0" "\\x" ? % >hex % ] [ , ] if
|
||||||
] if ;
|
] if ;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue