Skip to content

Commit ee0a08a

Browse files
authored
Merge pull request doxygen#11534 from albert-github/feature/bug_if_endif_pre
Warning ` mismatch `#if` / `#endif` from preprocessor
2 parents 5690022 + 46e6a42 commit ee0a08a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/pre.l

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2259,6 +2259,7 @@ static std::unique_ptr<FileState> checkAndOpenFile(yyscan_t yyscanner,const QCSt
22592259
}
22602260
else
22612261
{
2262+
addTerminalCharIfMissing(fs->fileBuf,'\n');
22622263
fs->oldFileBuf = state->inputBuf;
22632264
fs->oldFileBufPos = state->inputBufPos;
22642265
}

0 commit comments

Comments
 (0)