mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-19 02:00:26 +02:00
*** empty log message ***
This commit is contained in:
parent
a61f4e0c61
commit
d2e53ed6f8
56 changed files with 392 additions and 923 deletions
|
@ -381,7 +381,7 @@ display_frame_expr (char *hdr, SCM exp, char *tlr, int indentation, SCM sport, S
|
|||
{
|
||||
pstate->length = print_params[i].length;
|
||||
ptob->seek (sport, 0, SEEK_SET);
|
||||
if (SCM_CONSP (exp))
|
||||
if (scm_is_pair (exp))
|
||||
{
|
||||
pstate->level = print_params[i].level - 1;
|
||||
scm_iprlist (hdr, exp, tlr[0], sport, pstate);
|
||||
|
@ -607,14 +607,14 @@ display_frame (SCM frame, int nfield, int indentation, SCM sport, SCM port, scm_
|
|||
/* Display a special form. */
|
||||
{
|
||||
SCM source = SCM_FRAME_SOURCE (frame);
|
||||
SCM copy = (SCM_CONSP (source)
|
||||
SCM copy = (scm_is_pair (source)
|
||||
? scm_source_property (source, scm_sym_copy)
|
||||
: SCM_BOOL_F);
|
||||
SCM umcopy = (SCM_MEMOIZEDP (source)
|
||||
? scm_i_unmemoize_expr (source)
|
||||
: SCM_BOOL_F);
|
||||
display_frame_expr ("(",
|
||||
SCM_CONSP (copy) ? copy : umcopy,
|
||||
scm_is_pair (copy) ? copy : umcopy,
|
||||
")",
|
||||
nfield + 1 + indentation,
|
||||
sport,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue