[116514] trunk/base/src

Clemens Lang cal at macports.org
Mon Jan 27 08:52:54 PST 2014


On Tue, Jan 28, 2014 at 03:20:55AM +1100, Joshua Root wrote:
> This doesn't look right. I would think the purpose of the expr here is
> to do constant folding, so if you do
> 
> const FOO 2+2
> 
> then [FOO] would return 4. But with the added braces it returns "2+2".

You're right. Even though we never actually call proc const with an
expression (just with constants), I've reverted the change in r116530.

Thanks for paying attention.

-- 
Clemens Lang



More information about the macports-dev mailing list