[Ecls-list] [patch] Two patches

Alexander Gavrilov angavrilov at gmail.com
Sun Nov 8 15:22:03 UTC 2009


> Thanks a lot for reporting this and taking the time to fix it. I have
> changed the second patch to reuse the current routines that scan
> declarations, though.
>
> > I noticed ECL doesn't seem to honor the declaration of variables as
> > ignorable. ecl-ignorable-variables.patch attempts to address this by
> > adding a IGNORABLE slot to the VAR struct and consulting it before
> > issuing the unused variable warning in CHECK-VREF. I had to modify
> > C1MAKE-VAR to take the list of other declarations returned from C1BODY
> > (where the ignorable declarations end up) so it could set the var's
> > ignorable slot correctly.

This doesn't understand (IGNORABLE #'CALL-NEXT-LAYERED-METHOD) in
contextl and fails with a syntax error. That declaration is already
disabled for lispworks, though.

Alexander




More information about the ecl-devel mailing list