[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Documentation strings and function.

    Since one is allowed to declare the following :-

    (defun foo (a b)
      "A docstring."
      (declare (special a))
      "Another docstring."
      (declare (special b))
      (frob a b))

What makes you think that one is allowed to declare the preceding?  I
believe that this form is illegal, and that the resulting doc-string is
therefore undefined.  See page 67 about a third of the way down: "It is
an error if more than one doc-string is present."  Since that second
string cannot be a doc string, the second declare form is in an illegal

-- Scott