From e7dd58df1e4230942576b1e00e3932ca92aa552e Mon Sep 17 00:00:00 2001 From: rtoy <rtoy> Date: Mon, 9 Jan 2006 15:35:56 +0000 Subject: [PATCH] (multiple-value-bind 1) caused an error while pretty-printing. Make the pretty-printer more robust. Bug and fix from Gareth McCaughan, cmucl-imp, 2006-01-09. --- code/pprint.lisp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/pprint.lisp b/code/pprint.lisp index b7092f9af..78efecad0 100644 --- a/code/pprint.lisp +++ b/code/pprint.lisp @@ -5,7 +5,7 @@ ;;; Carnegie Mellon University, and has been placed in the public domain. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/pprint.lisp,v 1.58 2006/01/05 16:13:56 rtoy Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/pprint.lisp,v 1.59 2006/01/09 15:35:56 rtoy Exp $") ;;; ;;; ********************************************************************** ;;; @@ -1432,7 +1432,7 @@ When annotations are present, invoke them at the right positions." (defun pprint-multiple-value-bind (stream list &rest noise) (declare (ignore noise)) - (funcall (formatter "~:<~^~W~^~5I ~:_~W~3I ~:@_~W~1I~@{ ~:@_~W~}~:>") + (funcall (formatter "~:<~^~W~^~5I ~:_~W~^~3I ~:@_~W~1I~@{ ~:@_~W~}~:>") stream list)) (defun pprint-handler-bind (stream list &rest noise) -- GitLab