Skip to content

Commit

Permalink
Bug 722603 - doxygen nested \if \endif sample not working
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri van Heesch committed Feb 11, 2014
1 parent 0e080f4 commit cc78b12
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/commentscan.l
Original file line number Diff line number Diff line change
Expand Up @@ -1842,8 +1842,14 @@ RCSTAG "$"{ID}":"[^\n$]+"$"
}
else
{
delete guards.pop();
BEGIN( GuardParamEnd );
GuardedSection *s = guards.pop();
bool parentVisible = s->parentVisible();
delete s;
if (parentVisible)
{
enabledSectionFound=TRUE;
BEGIN( GuardParamEnd );
}
}
}
<SkipGuardedSection>{CMD}"else"/{NW} {
Expand Down

0 comments on commit cc78b12

Please sign in to comment.