Permalink
Browse files

Fixed issue parsing @EnD directly followed by the end of the file

  • Loading branch information...
Dimitri van Heesch
Dimitri van Heesch committed Dec 19, 2014
1 parent 60abada commit fa239ea9a3bba27e4fff84629883ee400f674c1e
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/doxygen.cpp
@@ -9329,6 +9329,10 @@ static void parseFile(ParserInterface *parser,
msg("Reading %s...\n",fn);
readInputFile(fileName,preBuf);
}
if (preBuf.data() && preBuf.curPos()>0 && *(preBuf.data()+preBuf.curPos()-1)!='\n')
{
preBuf.addChar('\n'); // add extra newline to help parser
}
BufStr convBuf(preBuf.curPos()+1024);

0 comments on commit fa239ea

Please sign in to comment.