Display wide strings using escapes
authorMichael Gran <spk121@yahoo.com>
Wed, 19 Aug 2009 05:32:08 +0000 (22:32 -0700)
committerMichael Gran <spk121@yahoo.com>
Wed, 19 Aug 2009 05:32:08 +0000 (22:32 -0700)
* libguile/print.c (iprin1): for now, display wide strings
  as escaped strings

libguile/print.c

index c398572..152baef 100644 (file)
@@ -658,8 +658,7 @@ iprin1 (SCM exp, SCM port, scm_print_state *pstate)
               scm_remember_upto_here_1 (exp);
             }
           else
-            scm_lfwrite (scm_i_string_chars (exp), scm_i_string_length (exp),
-                         port);
+            scm_lfwrite_str (exp, port);
           scm_remember_upto_here_1 (exp);
           break;
        case scm_tc7_symbol: