[Top][All Lists]

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

Re: [PATCH] pattern-specific variable expansion

From: Paul D. Smith
Subject: Re: [PATCH] pattern-specific variable expansion
Date: Mon, 19 Apr 2004 18:06:43 -0400

%% Boris Kolpackov <address@hidden> writes:
  bk> In contrast the patch fixes the following case:

  bk> a := A

  bk> %bar : a_ := $a

  bk> %bar :; @echo $(a_) 

  bk> a := B

  bk> foobar:

  bk> Which prints (without patch) B.

I want to point out that I think we already discussed this before on the
list.  Changing this behavior leads to undesirable behavior in other
situations.  I think it was related to += in a target-specific variable
not having the expected semantics.  I think there's even a bug about
this in Savannah already.

IIRC, there is no one behavior in this situation that works "as
expected" in every case.

I'm assuming all the regression tests still pass with your patch
applied?  I can't remember whether I added a test for this situation or

 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

reply via email to

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