Skip to content

Commit

Permalink
Merge pull request #10787 from albert-github/feature/bug_warn_pre
Browse files Browse the repository at this point in the history
Warning in pre.l
  • Loading branch information
doxygen committed Apr 8, 2024
2 parents 8d619a2 + 2353b11 commit c023f42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pre.l
Original file line number Diff line number Diff line change
Expand Up @@ -2846,9 +2846,9 @@ static void addSeparatorsIfNeeded(yyscan_t yyscanner,const QCString &expr,QCStri
restExpr=restExpr.stripWhiteSpace();
if (restExpr.isEmpty()) // peek ahead in the stream for non-whitespace
{
uint32_t j=resultExpr.length();
uint32_t j=(uint32_t)resultExpr.length();
while ((ccNext=getNextChar(yyscanner,resultExpr,nullptr,j))!=EOF && ccNext==' ') { }
unputChar(yyscanner,resultExpr,nullptr,j,ccNext);
if (ccNext != EOF) unputChar(yyscanner,resultExpr,nullptr,j,(char)ccNext);
}
else // take first char from remainder
{
Expand Down

0 comments on commit c023f42

Please sign in to comment.