diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-01-07 20:06:57 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2020-01-07 20:06:57 (GMT) |
commit | ac3ad1e58da96a28cb09cb9fab5b34837bc1c292 (patch) | |
tree | fdb9366827612ba6ec8b1b32d35daf38f0c6fe4a /src/commentscan.l | |
parent | f8c32f996cac5db890c29958989d25ada389772b (diff) | |
download | Doxygen-ac3ad1e58da96a28cb09cb9fab5b34837bc1c292.zip Doxygen-ac3ad1e58da96a28cb09cb9fab5b34837bc1c292.tar.gz Doxygen-ac3ad1e58da96a28cb09cb9fab5b34837bc1c292.tar.bz2 |
Fix for removed spaces in certain \if \else \endif constructs
Diffstat (limited to 'src/commentscan.l')
-rw-r--r-- | src/commentscan.l | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/commentscan.l b/src/commentscan.l index 02117c2..fbcd089 100644 --- a/src/commentscan.l +++ b/src/commentscan.l @@ -2417,6 +2417,7 @@ static bool handleElseIf(yyscan_t yyscanner,const QCString &, const QCStringList else { yyextra->guardType = yyextra->enabledSectionFound ? Guard_Skip : Guard_If; + yyextra->spaceBeforeIf = yyextra->spaceBeforeCmd; BEGIN(GuardParam); } return FALSE; @@ -2432,6 +2433,7 @@ static bool handleElse(yyscan_t yyscanner,const QCString &, const QCStringList & } else { + yyextra->spaceBeforeIf = yyextra->spaceBeforeCmd; BEGIN( SkipGuardedSection ); } return FALSE; |