chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] [PATCH] handle aliases generated by macro-expansio


From: Peter Bex
Subject: Re: [Chicken-hackers] [PATCH] handle aliases generated by macro-expansion in "declare"
Date: Fri, 21 Oct 2011 09:00:36 +0200
User-agent: Mutt/1.4.2.3i

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.

Cheers,
Peter
-- 
http://sjamaan.ath.cx
--
"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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]