help-make
[Top][All Lists]
Advanced

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

Re: wrong and unclear conditional syntax documentation


From: Eli Zaretskii
Subject: Re: wrong and unclear conditional syntax documentation
Date: Fri, 22 Mar 2019 22:11:24 +0200

> From: Britton Kerin <address@hidden>
> Date: Fri, 22 Mar 2019 10:59:30 -0800
> 
> The manual says:
> 
> The syntax of the conditional-directive is the same whether the
> conditional is simple or complex; after an else or not. There are four
> different directives that test different conditions. Here is a table
> of them:
> 
> ifeq (arg1, arg2)
> ifeq 'arg1' 'arg2'
> ifeq "arg1" "arg2"
> ifeq "arg1" 'arg2'
> ifeq 'arg1' "arg2"
> 
> There are five entries in the table, not four.  It's also unclear what
> is different about the conditions being tested.  Different levels of
> interpolation?

You stopped the citation too soon: the 4 forms are ifeq, ifneq, ifdef,
and ifndef.  What you quote above are 5 different flavors of the same
directive ifeq.



reply via email to

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