Diff for ep/src/conf.c between version 1.26 and 1.27
| version 1.26, 2002/05/29 15:12:55 |
version 1.27, 2002/05/31 17:07:13 |
| Line 650 check_context(context, options) |
|
| Line 650 check_context(context, options) |
|
| return 0; |
return 0; |
| |
|
| cfg_set_context_flags(*context, CFG_PROCESS_FIRST); |
cfg_set_context_flags(*context, CFG_PROCESS_FIRST); |
| cfg_clear_cmdline_stop_string(*context); |
|
| cfg_clear_cmdline_multi_vals_separator(*context); |
|
| cfg_clear_cfgfile_stop_prefix(*context); |
|
| |
|
| if (! cfg_add_cmdline_stop_string(*context, "^^") |
/* TODO: one call for multi vals properties */ |
| || ! cfg_add_cmdline_multi_vals_separator(*context, ",") |
cfg_clear_property(*context, CFG_LINE_STOP_STRING); |
| || ! cfg_add_cfgfile_stop_prefix(*context, |
cfg_clear_property(*context, CFG_LINE_MULTI_VALS_SEPARATOR); |
| section_boundaries[0])) |
cfg_clear_property(*context, CFG_FILE_MULTI_VALS_SEPARATOR); |
| |
cfg_clear_property(*context, CFG_FILE_STOP_PREFIX); |
| |
|
| |
if (! cfg_add_property(*context, CFG_LINE_STOP_STRING, "--") |
| |
|| ! cfg_add_property(*context, |
| |
CFG_LINE_MULTI_VALS_SEPARATOR, ",") |
| |
|| ! cfg_add_property(*context, |
| |
CFG_FILE_STOP_PREFIX, section_boundaries[0])) |
| return 0; |
return 0; |
| } |
} |
| |
|
Platon Group <platon@platon.org> http://platon.org/
|
|