GNOME Bugzilla – Bug 696276
Nested \if don't work in all cases
Last modified: 2014-04-19 16:59:51 UTC
In a nested \if, if the first if doesn't match, the nesting isn't properly parsed. Example document: --------------- /** \mainpage Test */ /** \if DOCUMENT_A \page Page1 Page 1 \if DOCUMENT_B Test text 1 \endif Test text 2 \endif */ /** \page Page2 Page 2 Test text 3 */ --------------- Using ENABLED_SECTIONS = B, doxygen generates only the Page 2, but Page 2 contains the strings: Test text 2 <=== This shouldn't be there! Test text 3
This also happens in 1.8.1, if I've tested right.
I tested this with version 1.8.6 and the problem is still present. In the current git version it is not present anymore (due to bug_678436 ?) I suggest to set this bug to ASSIGNED (i.e. RESOLVED in the next doxygen version).
*** This bug has been marked as a duplicate of bug 678436 ***