Add new condition type ILLEGAL-PATHNAME-COMPONENT so that pathname
authorChris Hanson <org/chris-hanson/cph>
Mon, 11 Sep 1995 21:03:08 +0000 (21:03 +0000)
committerChris Hanson <org/chris-hanson/cph>
Mon, 11 Sep 1995 21:03:08 +0000 (21:03 +0000)
parsing errors can be caught.

v7/src/runtime/error.scm

index 19257ba1a64d63ef8d19322c1626a6087cb4a1cf..ebbf51f9c2e0ffcd6b597e1b3d764467f4fab836 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Id: error.scm,v 14.47 1995/09/11 20:52:26 cph Exp $
+$Id: error.scm,v 14.48 1995/09/11 21:03:08 cph Exp $
 
 Copyright (c) 1988-95 Massachusetts Institute of Technology
 
@@ -894,7 +894,7 @@ MIT in each case. |#
            (write-string "The object " port)
            (write (access-condition condition 'DATUM) port)
            (write-string " is not a valid pathname " port)
-           (write (access-condition condition 'TYPE) port)
+           (write-string (access-condition condition 'TYPE) port)
            (write-string "." port))))
 
   (set! condition-type:control-error