1.0.29.24: preserve docstrings for local and anonymous functions
authorNikodemus Siivola <nikodemus@random-state.net>
Sun, 21 Jun 2009 10:26:24 +0000 (10:26 +0000)
committerNikodemus Siivola <nikodemus@random-state.net>
Sun, 21 Jun 2009 10:26:24 +0000 (10:26 +0000)
commitf181ad9ffeeadf341b6a16c3591eadf0c1e3fa61
tree074e9ae6c714c463e81cd51879dbf5abb5b721a2
parentdf871446529da0e83d670f35a9566c11d814be32
1.0.29.24: preserve docstrings for local and anonymous functions

  Based on patch by Lessie Polzer:

* Rename SIMPLE-FUN-XREFS to SIMPLE-FUN-INFO. Slot holds the docstring
  and/or XREF vector for the function. This saves space in the common
  case of no dostring -- the patch actually ends up shrinking
  sbcl.core a bit.

* Teach the compiler how to grab the docstrings from LAMBDAs and how
  to preserve them for the lambdas constructed for FLET and LABELS
  functions.

* Store COMPILER-MACRO documentation in the COMPILER-MACRO-FUNCTION.

* Store macro documentation in the MACRO-FUNCTION.

* Nuke (INFO :FUNCTION :DOCUMENTATION).
25 files changed:
NEWS
package-data-list.lisp-expr
src/code/defboot.lisp
src/code/defmacro.lisp
src/code/describe.lisp
src/code/fop.lisp
src/code/kernel.lisp
src/code/macros.lisp
src/code/target-misc.lisp
src/compiler/dump.lisp
src/compiler/entry.lisp
src/compiler/generic/genesis.lisp
src/compiler/generic/objdef.lisp
src/compiler/generic/target-core.lisp
src/compiler/globaldb.lisp
src/compiler/info-functions.lisp
src/compiler/ir1-translators.lisp
src/compiler/ir1tran-lambda.lisp
src/compiler/macros.lisp
src/compiler/node.lisp
src/compiler/vop.lisp
src/pcl/documentation.lisp
src/runtime/gc-common.c
tests/interface.impure.lisp
version.lisp-expr