diff options
author | Andy Wingo <wingo@pobox.com> | 2012-01-12 15:15:41 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2012-01-12 15:15:41 +0100 |
commit | 88c0a1d5911e68aed20675948b15d7e67896df87 (patch) | |
tree | ca53d133f0d69576cff2c0838610e5218a3dc77b | |
parent | 486bd70d5309469edd27a73f5663044a78526856 (diff) | |
download | guile-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.
-rw-r--r-- | libguile/print.c | 3 |
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); |