bug in for on pre59 built with clisp using cygwin



Violating the suggestion that "if it ain't broke don't fix it"

I suggest nevertheless that the maxima code be changed
to all lower case (except for comments, character strings,
and other deliberate capitalizations).  This makes it
compatible with Allegro common lisp's  both-cases, built-in
names in lower case, "modern" mode.  It should not break
anything in the other common lisps.  It makes the code
easier for humans to read and (in the case below), easier
to write!
RJF


Yasuaki Honda wrote:

> Dear Dr. Dan Stanger,
> 
> I just noticed that:
>     for u IN x do print(u);
> works fine while
>     for u in x do print(u);
> does not.
> 
> Capitalizing both letters looks important. Certainly this should be
> a bug...
> 
> Yasuaki Honda
> Japan
> 
> On 2001.12.20, at 10:22, Dan Stanger wrote:
> 
>>  f(x):=for u in x do print(u); give the following error message:
>> Incorrect syntax: in is an unknown keyword in a DO statement.
>>
>> This works correctly in previous versions.
>> Dan Stanger
>>
>> _______________________________________________
>> Maxima mailing list
>> Maxima@www.math.utexas.edu
>> http://www.math.utexas.edu/mailman/listinfo/maxima
>>
> 
> 
> _______________________________________________
> Maxima mailing list
> Maxima@www.math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima