#18 Easy UFO detection does not work for sections in input files

open
nobody
None
5
2012-10-02
2009-04-28
Anonymous
No

Easy UFO detection allows to detect unknown flying objects. But this feature does not work as expected for sections in an input file.
Here is an example in which a variable is read in the configuration file, but the section name still appears as a UFO in the output of the test program. Here is the output:

ez-ufo-section --sections
vehicle/tires/B: 3
Unidentified subsections of 'vehicle/' in file 'example-ez-ufo.pot':
vehicle/tires/
vehicle/chassis/
vehicle/chassis/doors/

The section "vehicle/tires/" should not appear as a UFO since the variable B
from this section is read in the main program.

Otherwise, it works perfectly when the list of sections is explicit (in the
example ufo.cpp provided with GetPot).

Best regards,
Claire.

Discussion


Anonymous


Cancel   Add attachments