Skip to content

Commit

Permalink
Disabled config dependency check to avoid regression
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri van Heesch committed Mar 23, 2014
1 parent 2bd3c0e commit 904ad3f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/config.l
Expand Up @@ -1591,6 +1591,8 @@ void Config::check()


checkFileName("GENERATE_TAGFILE"); checkFileName("GENERATE_TAGFILE");


#if 0 // TODO: this breaks test 25; SOURCEBROWSER = NO and SOURCE_TOOLTIPS = YES.
// So this and other regressions should be analysed and fixed before this can be enabled
// disable any boolean options that depend on disabled options // disable any boolean options that depend on disabled options
QListIterator<ConfigOption> it = iterator(); QListIterator<ConfigOption> it = iterator();
ConfigOption *option; ConfigOption *option;
Expand All @@ -1605,11 +1607,13 @@ void Config::check()
{ {
if (option->kind()==ConfigOption::O_Bool) if (option->kind()==ConfigOption::O_Bool)
{ {
printf("disabling option %s\n",option->name().data());
Config_getBool(option->name())=FALSE; // also disable this option Config_getBool(option->name())=FALSE; // also disable this option
} }
} }
} }
} }
#endif
} }


void Config::init() void Config::init()
Expand Down

0 comments on commit 904ad3f

Please sign in to comment.