tech-toolchain archive

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

Re: make: avoid segfault on parse error

In article <>,
Simon J. Gerraty <> wrote:
>While trying to trick make into handling something like:
>VAR += ${${X:U0} > 0:?Use $X:}
>I came accross the need for something like this.

I see why this is happening now. The conditional is evaluated after parsing
is done and the conditional evaluation code is using Parse_Error to report
errors. I guess your fix is fine then.


Home | Main Index | Thread Index | Old Index