[slime-devel] macroexpand-all for ccl

Stas Boukarev stassats at gmail.com
Tue Jan 27 05:34:20 UTC 2009


On Tue, Jan 27, 2009 at 1:00 AM, Tobias C. Rittweiler <tcr at freebits.de> wrote:
> Stas Boukarev <stassats at gmail.com> writes:
>
>> Here it is:
>>
>> diff -u -r1.157 swank-openmcl.lisp
>> --- swank-openmcl.lisp  16 Jan 2009 15:49:40 -0000      1.157
>> +++ swank-openmcl.lisp  26 Jan 2009 20:31:48 -0000
>> @@ -925,6 +925,9 @@
>>            (< (symbol-value s) 255))
>>        (setf (gethash (symbol-value s) *value2tag*) s)))
>>
>> +(defimplementation macroexpand-all (form)
>> +  (ccl:macroexpand-all form))
>> +
>>  ;;;; Inspection
>>
>>  (defimplementation describe-primitive-type (thing)
>
>
> This will cause a reader-error at read-time on older versions of
> CCL. Look at SBCL-WITH-SYMBOL in swank-sbcl.lisp for how this is usually
> dealt with in a backwards-compatible manner.
>
Ok, attached patch should deal with that.

-- 
With Best Regards, Stas.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: slime.patch
Type: application/octet-stream
Size: 6056 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/slime-devel/attachments/20090127/fd7ef63f/attachment.obj>


More information about the slime-devel mailing list