GCL in ANSI mode does not implement the ~@; directive within a
Tilde-Less-Than-Sign format directive (as per CLtS 22.3.5.2).
The following REPL interaction demonstrates the problem:
,----
| > (format nil "~@<;; ~@;~s~:>" *features*)
| Error in FORMAT [or a callee]: Format error: ~; expected.
| V
| "~@<;; ~@;~s~:>"
`----
Quote from the relevant part of the ANSI Common Lisp specification:
,---- http://www.ai.mit.edu/projects/iiip/doc/CommonLISP/HyperSpec/Body/sec_22-3-5-2.html
| The control-string portion enclosed by ~<...~:> can be divided into
| segments ~<prefix~;body~;suffix~:> by ~; directives. If the first
| section is terminated by ~@;, it specifies a per-line prefix rather
| than a simple prefix. The prefix and suffix cannot contain format
| directives. An error is signaled if either the prefix or suffix fails
| to be a constant string or if the enclosed portion is divided into
| more than three segments.
`----
--
Eric Marsden <URL:http://www.laas.fr/~emarsden/>
--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org