#17 compile-defun-lisp, parens in docstring

open
nobody
None
5
2002-11-18
2002-11-18
No

When I do compile-defun-lisp on a function whose
docstring has
parens (example below) I get this ilisp error:

;;; Compiling defaults to
ILISP: READER-ERROR at 53 on
#<SB-IMPL::STRING-INPUT-STREAM {30076CC1}>:
unmatched close parenthesis

The function is:

(defun temp-file (&optional (prefix "lisp") (suffix "tmp"))
"Return a string describing a possible tempfile (will
always be in
/tmp) given an optional PREFIX (defaults to 'lisp') and
SUFFIX
(defaults to 'tmp')."
(loop
(let ((file (format nil "/tmp/~a.~a.~a"
(random-string :length 8) prefix suffix)))
(unless (probe-file file)
(return-from temp-file file)))))

I'm using these debian pkgs:

ilisp: 5.12.0+cvs.2002.11.12
sbcl: 0.7.6-6
emacs21: 21.2-1

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks