summaryrefslogtreecommitdiff
path: root/libguile/print.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2012-01-12 15:15:41 +0100
committerAndy Wingo <wingo@pobox.com>2012-01-12 15:15:41 +0100
commit88c0a1d5911e68aed20675948b15d7e67896df87 (patch)
treeca53d133f0d69576cff2c0838610e5218a3dc77b /libguile/print.c
parent486bd70d5309469edd27a73f5663044a78526856 (diff)
downloadguile-88c0a1d5911e68aed20675948b15d7e67896df87.tar.gz
fix array printing
* libguile/print.c (iprin1): Fix unmatched ENTER_NESTED_DATA. Fixes http://debbugs.gnu.org/10482. Thanks to Daniel Llorens for the report.
Diffstat (limited to 'libguile/print.c')
-rw-r--r--libguile/print.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libguile/print.c b/libguile/print.c
index f144a6491..2eda4bbd4 100644
--- a/libguile/print.c
+++ b/libguile/print.c
@@ -1,5 +1,5 @@
/* Copyright (C) 1995-1999, 2000, 2001, 2002, 2003, 2004, 2006, 2008,
- * 2009, 2010, 2011 Free Software Foundation, Inc.
+ * 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
@@ -649,6 +649,7 @@ iprin1 (SCM exp, SCM port, scm_print_state *pstate)
case scm_tc7_array:
ENTER_NESTED_DATA (pstate, exp, circref);
scm_i_print_array (exp, port, pstate);
+ EXIT_NESTED_DATA (pstate);
break;
case scm_tc7_bytevector:
scm_i_print_bytevector (exp, port, pstate);