Re: Immediate and deferred expansion documentation rewording

2019-10-01 Thread Maris Razvan
> > > the value in the definition of a recursively > > expanded variable is considered to be a "construct", therefore it can > > also be regarded as a "deferred construct"? > > Yes. I think it's useful to consider: > > nam = exp > > ... as a construct of at least two sections, because nam is immed

Re: Immediate and deferred expansion documentation rewording

2019-10-01 Thread Martin Dorey
> the value in the definition of a recursively > expanded variable is considered to be a "construct", therefore it can > also be regarded as a "deferred construct"? Yes. I think it's useful to consider: nam = exp ... as a construct of at least two sections, because nam is immediately evaluated

Re: Immediate and deferred expansion documentation rewording

2019-10-01 Thread Maris Razvan
Thank you for your answer. I have some follow-up questions. > > > I understand the following > > Apart from the word "cmake", that chimed with my understanding. > > > a completely different meaning than the one used in the previous sentences > > I think the meanings are consistent if "a section o

Re: Immediate and deferred expansion documentation rewording

2019-10-01 Thread Martin Dorey
> I understand the following Apart from the word "cmake", that chimed with my understanding. > a completely different meaning than the one used in the previous sentences I think the meanings are consistent if "a section of a construct" is itself a "construct". > however one situations > apper

Immediate and deferred expansion documentation rewording

2019-10-01 Thread Maris Razvan
Hello, I was reading section 3.7 of the GNU make online manual (https://www.gnu.org/software/make/manual/make.html#Reading-Makefiles), especially the second paragraph: "It’s important to understand this two-phase approach because it has a direct impact on how variable and function expansion happe