fix mcons
handling by built-in printer in expression mode
This commit is contained in:
parent
b6e252c1e3
commit
c71f33f9f8
|
@ -87,6 +87,7 @@
|
|||
(ptest "'#hasheqv((1 . 2))" (make-hasheqv (list (cons 1 2))))
|
||||
|
||||
(ptest "(mcons 1 2)" (mcons 1 2))
|
||||
(ptest "(mcons 1 '())" (mcons 1 null))
|
||||
|
||||
(ptest "#<a>" (a 1 2))
|
||||
(ptest "(b 1 2)" (b 1 2))
|
||||
|
|
|
@ -3946,7 +3946,7 @@ print_pair(Scheme_Object *pair, int notdisplay, int compact,
|
|||
cdr = SCHEME_CDR(cdr);
|
||||
}
|
||||
|
||||
if (!SCHEME_NULLP(cdr)) {
|
||||
if (!SCHEME_NULLP(cdr) || (pair_type == -1)) {
|
||||
if (!compact) {
|
||||
if (notdisplay == 3)
|
||||
print_utf8_string(pp, " ", 0, 1);
|
||||
|
|
Loading…
Reference in New Issue
Block a user