summaryrefslogtreecommitdiffstats
path: root/src/pre.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2010-10-09 08:04:33 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2010-10-09 08:04:33 (GMT)
commita32c2461bfbe6705159abfcae92fb11f1309b37c (patch)
treefac3e1fdcea37381cbfa5042e20155883cf97372 /src/pre.l
parenta80f9320bf9fdd879869cee2cea1ec3f9af822f8 (diff)
downloadDoxygen-a32c2461bfbe6705159abfcae92fb11f1309b37c.zip
Doxygen-a32c2461bfbe6705159abfcae92fb11f1309b37c.tar.gz
Doxygen-a32c2461bfbe6705159abfcae92fb11f1309b37c.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);