From 05aebff043c86b2c29831e2db484d850e124bb07 Mon Sep 17 00:00:00 2001 From: "Kevin M. Rosenberg" Date: Wed, 14 May 2003 21:15:11 +0000 Subject: [PATCH] r4936: Auto commit for Debian build --- debian/changelog | 6 ++++++ views.lisp | 15 +++++++++++---- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index a635408..6c5fd5f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +cl-hyperobject (2.8.1-1) unstable; urgency=low + + * New upstream + + -- Kevin M. Rosenberg Wed, 14 May 2003 13:45:01 -0600 + cl-hyperobject (2.8.0-1) unstable; urgency=low * Rework object viewing to reduce format calls diff --git a/views.lisp b/views.lisp index 293e07e..e7fb1d6 100644 --- a/views.lisp +++ b/views.lisp @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Apr 2000 ;;;; -;;;; $Id: views.lisp,v 1.42 2003/05/14 08:30:38 kevin Exp $ +;;;; $Id: views.lisp,v 1.43 2003/05/14 21:15:11 kevin Exp $ ;;;; ;;;; This file is Copyright (c) 2000-2003 by Kevin M. Rosenberg ;;;; ************************************************************************* @@ -161,9 +161,16 @@ ) (defmacro write-simple (v s) - `(if (stringp ,v) - (write-string ,v ,s) - (write-string (write-to-string ,v) ,s))) + `(typecase v + (string + (write-string ,v ,s)) + #+allegro + (fixnum + (excl::print-fixnum ,s 10 ,v)) + (symbol + (write-string (symbol-name ,v) ,s)) + (t + (write-string (write-to-string ,v) ,s)))) (defun write-ho-value (obj name type formatter cdata strm) (declare (ignorable type)) -- 2.34.1