[movitz-cvs] CVS update: movitz/losp/muerte/print.lisp
Frode Vatvedt Fjeld
ffjeld at common-lisp.net
Mon Jan 17 11:02:34 UTC 2005
Update of /project/movitz/cvsroot/movitz/losp/muerte
In directory common-lisp.net:/tmp/cvs-serv30777
Modified Files:
print.lisp
Log Message:
*** empty log message ***
Date: Mon Jan 17 12:02:30 2005
Author: ffjeld
Index: movitz/losp/muerte/print.lisp
diff -u movitz/losp/muerte/print.lisp:1.16 movitz/losp/muerte/print.lisp:1.17
--- movitz/losp/muerte/print.lisp:1.16 Mon Jan 17 11:54:38 2005
+++ movitz/losp/muerte/print.lisp Mon Jan 17 12:02:27 2005
@@ -10,7 +10,7 @@
;;;; Author: Frode Vatvedt Fjeld <frodef at acm.org>
;;;; Created at: Mon Sep 3 11:48:19 2001
;;;;
-;;;; $Id: print.lisp,v 1.16 2005/01/17 10:54:38 ffjeld Exp $
+;;;; $Id: print.lisp,v 1.17 2005/01/17 11:02:27 ffjeld Exp $
;;;;
;;;;------------------------------------------------------------------
@@ -253,13 +253,15 @@
(let ((name (symbol-name symbol)))
(if (and (plusp (length name))
(every (lambda (c)
- (and (or (upper-case-p c)
- (member c '(#\+ #\- #\% #\$ #\* #\@ #\. #\&
- #\/ #\< #\> #\=))
- (digit-char-p c))
- (not (or (digit-char-p c *read-base*)
- (member c '(#\.))))))
- name))
+ (or (upper-case-p c)
+ (member c '(#\+ #\- #\% #\$ #\* #\@ #\. #\&
+ #\/ #\< #\> #\=))
+ (digit-char-p c)))
+ name)
+ (not (every (lambda (c)
+ (or (digit-char-p c *read-base*)
+ (member c '(#\.))))
+ name)))
(write-string name stream)
(stream-write-escaped-string stream name #\|)))))
(cond
More information about the Movitz-cvs
mailing list