Hello, I just discovered a small bug in a format string of mine thanks to CCL. It is illustrated below: the ~:; control sequence is meaningless in this context. (defun test () (format t "~:[[~A]~:;~A~]" t "foo") (format t "~:[[~A]~:;~A~]" nil "bar") (values)) This function still works correctly, but perhaps a warning would be nice to have, as CCL does. -- Resistance is futile. You will be jazzimilated. Scientific site: http://www.lrde.epita.fr/~didier Music (Jazz) site: http://www.didierverna.com
On 11/11/10 1:07 PM, Didier Verna wrote:
Hello,
I just discovered a small bug in a format string of mine thanks to CCL. It is illustrated below: the ~:; control sequence is meaningless in this context.
(defun test () (format t "~:[[~A]~:;~A~]" t "foo") (format t "~:[[~A]~:;~A~]" nil "bar") (values))
This function still works correctly, but perhaps a warning would be nice to have, as CCL does. Yes, a warning would be nice. I'll add a warning in the next snapshot.
Thanks for the report and test case, Ray
participants (2)
-
Didier Verna -
Raymond Toy