diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2010-10-09 08:04:33 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2010-10-09 08:04:33 (GMT) |
commit | 8a48f6c3f4827171edf41a40bfdbc03e53d9be6b (patch) | |
tree | fac3e1fdcea37381cbfa5042e20155883cf97372 /src/pre.l | |
parent | 6dbef217c477d43fb61e90b429531ee109bf0e75 (diff) | |
download | Doxygen-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.l | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |