NetBSD-Bugs archive

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

Re: toolchain/38315: make: ?= should resolve LHS



The following reply was made to PR toolchain/38315; it has been noted by GNATS.

From: "Simon J. Gerraty" <sjg%crufty.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: Re: toolchain/38315: make: ?= should resolve LHS 
Date: Thu, 27 Mar 2008 07:37:01 -0700

 > I am not sure about calling VarFind twice.  
 
 The alternative? 
 Both gmake and freebsd's make print OK for my test case btw.
 
 >What happens in this case:
 
 Assuming you mean for
 
 all:
        @echo V.$$= ${V.$$}
 
 gmake prints 'foo'
 our make (without without my patch) prints nothing.
 
 did you mean something else?  
  
 >      DOLLAR = $$
 >      LBRACE = {
 >      RBRACE = }
 >      V.$$ = foo
 >      V.$$${LBRACE}DOLLAR${RBRACE} = bar
 >      V.${DOLLAR} ?= baz
 


Home | Main Index | Thread Index | Old Index