@@define in @@ifdef constructs is incorrectly handled
Brought to you by:
hvhaugwitz,
rvdb
Hi,
a construction like
@@ifdef BINDCHROOT
@@define BINDVARDIR /var/local/bind/var
@@else
@@define BINDVARDIR /var
@@endif
does not seem to work. It looks like @@ifdef is
ignored for @@defines inside the @@ifdef construct,
which will have BINDVARDIR end up as /var.
This is counter-intuitive and different from what -
for example - the C preprocessor does.
Greetings
Marc
Logged In: YES
user_id=83996
Originator: NO
The actual problem may be that @@else doesn't work. I'm going to file a separate bug report.
fixed (commit cea21ddca3b526e60b6c16e8bf6d1f29e40151f5 )