fix continuation printing bug
authorAndy Wingo <wingo@pobox.com>
Sun, 7 Mar 2010 21:19:13 +0000 (22:19 +0100)
committerAndy Wingo <wingo@pobox.com>
Tue, 9 Mar 2010 20:32:56 +0000 (21:32 +0100)
* libguile/programs.c (scm_i_program_print): Fix bug printing
  continuations.

libguile/programs.c

index c80648e..e777e56 100644 (file)
@@ -86,7 +86,7 @@ scm_i_program_print (SCM program, SCM port, scm_print_state *pstate)
       scm_uintprint (SCM_UNPACK (program), 16, port);
       scm_putc ('>', port);
     }
-  if (SCM_PROGRAM_IS_PARTIAL_CONTINUATION (program))
+  else if (SCM_PROGRAM_IS_PARTIAL_CONTINUATION (program))
     {
       /* twingliness */
       scm_puts ("#<partial-continuation ", port);