[bug #60659] Incorrect 2nd expansion of $$< inside a function in the prerequisite list.

2021-09-05 Thread Paul D. Smith
Update of bug #60659 (project make):

  Status:None => Fixed  
 Assigned to:None => psmith 
 Open/Closed:Open => Closed 
Operating System:None => Any
   Fixed Release:None => SCM
   Triage Status:None => Small Effort   

___

Follow-up Comment #5:

Thanks, pushed to Git.

___

Reply to this item at:

  

___
  Message sent via Savannah
  https://savannah.gnu.org/




[bug #60659] Incorrect 2nd expansion of $$< inside a function in the prerequisite list.

2021-05-30 Thread Paul D. Smith
Follow-up Comment #4, bug #60659 (project make):

Sorry, I messed up.  You should definitely use '-u' when creating diffs... I
meant, please do not use '-b' when creating diffs!

That was dumb.  Sorry :(.

___

Reply to this item at:

  

___
  Message sent via Savannah
  https://savannah.gnu.org/




[bug #60659] Incorrect 2nd expansion of $$< inside a function in the prerequisite list.

2021-05-29 Thread Dmitry Goncharov
Follow-up Comment #3, bug #60659 (project make):

Sure, will do.
Thanks for review.

___

Reply to this item at:

  

___
  Message sent via Savannah
  https://savannah.gnu.org/




[bug #60659] Incorrect 2nd expansion of $$< inside a function in the prerequisite list.

2021-05-29 Thread Paul D. Smith
Follow-up Comment #2, bug #60659 (project make):

Thanks I've applied this.

Just a note when generating diffs for patches please don't add the '-u' option
to 'git diff' otherwise the patches won't apply cleanly if you've made
whitespace changes.

Cheers!

___

Reply to this item at:

  

___
  Message sent via Savannah
  https://savannah.gnu.org/




[bug #60659] Incorrect 2nd expansion of $$< inside a function in the prerequisite list.

2021-05-23 Thread Dmitry Goncharov
Follow-up Comment #1, bug #60659 (project make):

Attached tests of explicit and implicit rules and a fix.

___

Reply to this item at:

  

___
  Message sent via Savannah
  https://savannah.gnu.org/




[bug #60659] Incorrect 2nd expansion of $$< inside a function in the prerequisite list.

2021-05-23 Thread Dmitry Goncharov
Additional Item Attachment, bug #60659 (project make):

File name: sv60659_fix.diff   Size:0 KB


File name: sv60659_test_implicit.diff Size:3 KB
   


File name: sv60659_test_explicit.diff Size:2 KB
   




___

Reply to this item at:

  

___
  Message sent via Savannah
  https://savannah.gnu.org/




[bug #60659] Incorrect 2nd expansion of $$< inside a function in the prerequisite list.

2021-05-23 Thread Dmitry Goncharov
URL:
  

 Summary: Incorrect 2nd expansion of $$< inside a function in
the prerequisite list.
 Project: make
Submitted by: dgoncharov
Submitted on: Sun 23 May 2021 02:26:36 PM UTC
Severity: 3 - Normal
  Item Group: Bug
  Status: None
 Privacy: Public
 Assigned to: None
 Open/Closed: Open
 Discussion Lock: Any
   Component Version: SCM
Operating System: None
   Fixed Release: None
   Triage Status: None

___

Details:

.SECONDEXPANSION:
hello.x: world.z
hello.x: $$(info <=$$<) ;

Expected output of info is
<=world.z

Actual output of info is
<=

$(info) is used in this example. Other functions cause the same effect.




___

Reply to this item at:

  

___
  Message sent via Savannah
  https://savannah.gnu.org/