]> gitweb.factorcode.org Git - factor.git/commitdiff
prettyprint.backend: use , not % in unparse-ch.
authorJohn Benediktsson <mrjbq7@gmail.com>
Tue, 30 Sep 2014 15:23:32 +0000 (08:23 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Tue, 30 Sep 2014 15:23:32 +0000 (08:23 -0700)
basis/prettyprint/backend/backend.factor

index b5709dbc1cbc0a040de0d1a49e1431b8b4aacaa2..d9cde6448be0ffc449d6f107f2c31863cd4e95a2 100644 (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 ;