sloop patch



On Sep 9, 2009, at 6:10 PM, Robert Dodier wrote:

> On Wed, Sep 9, 2009 at 9:48 AM, ?iga  
> Lenar?i?<ziga.lenarcic at gmail.com> wrote:
>
>> True, I agree. First I have to 'master' diff (I don't know how to  
>> make a
>> patch for multiple files located in different folders yet).
>
> cvs -d $CVSROOT co maxima
> cd maxima
> <change stuff>
> cvs diff -u > my-new-patch # contains diffs for affected files in all
> directories
>
> where CVSROOT=:pserver:anonymous at maxima.cvs.sourceforge.net/cvsroot/ 
> maxima
> or something like that.
>
> HTH
>
> Robert Dodier

Recommended change to sloop.lisp in src, instead

(defmacro sloop (&rest body) `(loop , at body))


(defmacro sloop (&rest body)
   `(progn (warn "Using deprecated macro 'sloop'. Use 'loop' instead.")
       (loop , at body)))

I don't know how exactly the warning should be formulated (we have no  
standard 'format', even for errors).

Attached is the patch for sloop->loop change throughout /share/.
Testsuite ran without errors on SBCL 1.0.30 on mac os x.

Regards,
Ziga

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sloop.patch
Type: application/octet-stream
Size: 8107 bytes
Desc: not available
Url : http://www.math.utexas.edu/pipermail/maxima/attachments/20090909/812b61ad/attachment.obj 
-------------- next part --------------