Commit cc78b12b authored by Dimitri van Heesch's avatar Dimitri van Heesch

Bug 722603 - doxygen nested \if \endif sample not working

parent 0e080f48
...@@ -1842,10 +1842,16 @@ RCSTAG "$"{ID}":"[^\n$]+"$" ...@@ -1842,10 +1842,16 @@ RCSTAG "$"{ID}":"[^\n$]+"$"
} }
else else
{ {
delete guards.pop(); GuardedSection *s = guards.pop();
bool parentVisible = s->parentVisible();
delete s;
if (parentVisible)
{
enabledSectionFound=TRUE;
BEGIN( GuardParamEnd ); BEGIN( GuardParamEnd );
} }
} }
}
<SkipGuardedSection>{CMD}"else"/{NW} { <SkipGuardedSection>{CMD}"else"/{NW} {
if (guards.isEmpty()) if (guards.isEmpty())
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment