[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] handle aliases generated by macro-expansio
Re: [Chicken-hackers] [PATCH] handle aliases generated by macro-expansion in "declare"
Fri, 21 Oct 2011 09:00:36 +0200
On Fri, Oct 21, 2011 at 03:33:03AM +0200, Felix wrote:
> > The attached patch resolves macro-aliases correctly when resolving
> > identifier names in "declare" forms. Without this, identifiers that
> > went through several macro-expansions (and thus aliasing) where not
> > resolved to their true names, yielding declarations ineffective.
> That patch was broken. Please use this one instead.
Won't this loop forever when sym refers to a macro?
In this case, it calls loop1 with sym again, which
probably means it'll keep going.
"The process of preparing programs for a digital computer
is especially attractive, not only because it can be economically
and scientifically rewarding, but also because it can be an aesthetic
experience much like composing poetry or music."
-- Donald Knuth