Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#53 @@define in @@ifdef constructs is incorrectly handled

open
nobody
None
5
2006-03-30
2006-03-30
Marc Haber
No

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

Discussion

  • Robby Griffin
    Robby Griffin
    2007-05-25

    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.