From: Chris Hanson Date: Tue, 8 Jan 2002 05:03:56 +0000 (+0000) Subject: If reference trap has no name, print its number. X-Git-Tag: 20090517-FFI~2295 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=b1513ad3e23d4c6283f521dcd1ae03066d8297e7;p=mit-scheme.git If reference trap has no name, print its number. --- diff --git a/v7/src/runtime/urtrap.scm b/v7/src/runtime/urtrap.scm index c6bcf92d0..29d71c5b6 100644 --- a/v7/src/runtime/urtrap.scm +++ b/v7/src/runtime/urtrap.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: urtrap.scm,v 14.11 2002/01/07 04:26:29 cph Exp $ +$Id: urtrap.scm,v 14.12 2002/01/08 05:03:56 cph Exp $ Copyright (c) 1988-1999, 2001, 2002 Massachusetts Institute of Technology @@ -33,7 +33,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA (standard-unparser-method 'REFERENCE-TRAP (lambda (trap port) (write-char #\space port) - (write (reference-trap-kind-name trap) port))))) + (write (or (reference-trap-kind-name trap) + (reference-trap-kind trap)) + port))))) (kind #f read-only #t) (extra #f read-only #t))