From 4407b4cf59fbfcba2cd5d89114b19a693501c976 Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Sun, 14 Jul 2013 15:27:38 +0200 Subject: Fixed issue handling \elseif after \ifnot --- src/commentscan.l | 1 + 1 file changed, 1 insertion(+) diff --git a/src/commentscan.l b/src/commentscan.l index 9a51e6b..1617313 100644 --- a/src/commentscan.l +++ b/src/commentscan.l @@ -1860,6 +1860,7 @@ RCSTAG "$"{ID}":"[^\n$]+"$" { if (!enabledSectionFound && guards.top()->parentVisible()) { + guardType=Guard_If; delete guards.pop(); BEGIN( GuardParam ); } -- cgit v0.12