summaryrefslogtreecommitdiffstats
path: root/src/pre.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2010-10-09 08:04:33 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2010-10-09 08:04:33 (GMT)
commit8a48f6c3f4827171edf41a40bfdbc03e53d9be6b (patch)
treefac3e1fdcea37381cbfa5042e20155883cf97372 /src/pre.l
parent6dbef217c477d43fb61e90b429531ee109bf0e75 (diff)
downloadDoxygen-8a48f6c3f4827171edf41a40bfdbc03e53d9be6b.zip
Doxygen-8a48f6c3f4827171edf41a40bfdbc03e53d9be6b.tar.gz
Doxygen-8a48f6c3f4827171edf41a40bfdbc03e53d9be6b.tar.bz2
Release-1.7.2
Diffstat (limited to 'src/pre.l')
-rw-r--r--src/pre.l3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pre.l b/src/pre.l
index db5bf28..7bb5c1d 100644
--- a/src/pre.l
+++ b/src/pre.l
@@ -1863,6 +1863,7 @@ CHARLIT (("'"\\[0-7]{1,3}"'")|("'"\\."'")|("'"[^'\\\n]{1,4}"'"))
}
}
<SkipCommand>"endif" {
+ g_expectGuard = FALSE;
decrLevel();
if (--g_ifcount<0)
{
@@ -2629,7 +2630,7 @@ void preprocessFile(const char *fileName,BufStr &input,BufStr &output)
BEGIN( Start );
- g_expectGuard = TRUE;
+ g_expectGuard = guessSection(fileName)==Entry::HEADER_SEC;
g_lastGuardName.resize(0);
g_guardExpr.resize(0);