NetBSD-Bugs archive

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

Re: toolchain/46750 (make oddity expanding variables assigned to with +=)



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

From: Edgar =?iso-8859-1?B?RnXf?= <ef%math.uni-bonn.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: toolchain/46750 (make oddity expanding variables assigned to
 with +=)
Date: Thu, 7 Apr 2022 16:21:53 +0200

 >  Kind of unrelated to this point, but it also says:
 >  
 >  	The value of string2 is defined as all characters from the first
 >  	non-<blank> character, if any, after the <equals-sign>, up to but
 >  	not including a comment character ('=23') or an unescaped <newline>.
 >  
 >  which implies that trailing white space (any amount) is included.
 Which bmake fourtunately doesn't adhere to. I doubt you want
 	foo= bar	# see section 47.11
 to assign trailing whitespace to foo.
 


Home | Main Index | Thread Index | Old Index