khanat-opennel-code/code/nel/tools/nel_unit_test/ut_misc_files/cfg_with_define.cfg
2010-05-06 02:08:41 +02:00

34 lines
647 B
INI

#define FOO
# define BAR
#ifdef FOOBAR
this is an invalid content that should be ignored by parser
#endif
# ifdef FOOBAR
this is another invalid content that should be
ignored by parser with some free alignement
CfgNotToBeFound="iCan'tBeThere";
# endif
#ifdef FOO
// A simple var in a valid bloc
CfgReadableVar="You can see me";
#endif
// Multi test imbrication
#ifdef FOO // ok
# ifdef FOOBAR // not ok
# ifdef BAR // ok, but in a not ok scope
CfgInvisible = "You can't see me !";
# endif
# endif
#endif
#ifndef FOOBAR
// this one must exist
CfgMustExist="hello world";
#endif