From: Nikodemus Siivola Date: Sun, 21 Jun 2009 10:26:24 +0000 (+0000) Subject: 1.0.29.24: preserve docstrings for local and anonymous functions X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=f181ad9ffeeadf341b6a16c3591eadf0c1e3fa61;hp=f181ad9ffeeadf341b6a16c3591eadf0c1e3fa61;p=sbcl.git 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). ---