mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 19:50:24 +02:00
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.
This commit is contained in:
parent
486bd70d53
commit
88c0a1d591
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
/* Copyright (C) 1995-1999, 2000, 2001, 2002, 2003, 2004, 2006, 2008,
|
/* 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
|
* This library is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU Lesser General Public License
|
* 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:
|
case scm_tc7_array:
|
||||||
ENTER_NESTED_DATA (pstate, exp, circref);
|
ENTER_NESTED_DATA (pstate, exp, circref);
|
||||||
scm_i_print_array (exp, port, pstate);
|
scm_i_print_array (exp, port, pstate);
|
||||||
|
EXIT_NESTED_DATA (pstate);
|
||||||
break;
|
break;
|
||||||
case scm_tc7_bytevector:
|
case scm_tc7_bytevector:
|
||||||
scm_i_print_bytevector (exp, port, pstate);
|
scm_i_print_bytevector (exp, port, pstate);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue