From: Chris Hanson Date: Mon, 11 Sep 1995 20:52:26 +0000 (+0000) Subject: Add new condition type ILLEGAL-PATHNAME-COMPONENT so that pathname X-Git-Tag: 20090517-FFI~5961 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=e2ec1b04ed5e926f7d815c960ab5bb88a3cd1064;p=mit-scheme.git Add new condition type ILLEGAL-PATHNAME-COMPONENT so that pathname parsing errors can be caught. --- diff --git a/v7/src/runtime/error.scm b/v7/src/runtime/error.scm index 700fe4fb6..19257ba1a 100644 --- a/v7/src/runtime/error.scm +++ b/v7/src/runtime/error.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: error.scm,v 14.46 1995/09/11 19:05:26 cph Exp $ +$Id: error.scm,v 14.47 1995/09/11 20:52:26 cph Exp $ Copyright (c) 1988-95 Massachusetts Institute of Technology @@ -889,7 +889,7 @@ MIT in each case. |# (set! condition-type:illegal-pathname-component (make-condition-type 'ILLEGAL-PATHNAME-COMPONENT - condition-type:wrong-type-datum + condition-type:wrong-type-datum '() (lambda (condition port) (write-string "The object " port) (write (access-condition condition 'DATUM) port)