libcfg+ - Viewing Bug Advanced Details [ Go Back ]
385 library core feature always 2006-03-16 14:51 2006-10-26 18:00
nepto  
nepto  
normal  
assigned  
open  
none  
none  
CFG_IGNORE_UNKNOWN not implemented
I am currently adding the libcfg+ functionality to a program. Since I am parsing different parts of the
config file in different parts of the program, I'd like to use

cfg_set_context_flag(con, CFG_IGNORE_UNKNOWN);

However, this function seems to have no effect. I've grepped the entire source tree for IGNORE_UNKNOWN and
find only the definition (as constant 2).

Is this not implemented, or am I missing something?
This was reported via e-mail by John Riley <jriley@dsbscience.com>

Bug Notes
nepto   
2006-10-26 18:00   
Fast FIX / WORKAROUND:



If CFG_IGNORE_UNKNOWN flag is set and libcfg+ would like to return
CFG_ERROR_UNKNOWN, we will simple not return that and continue with
parsing.