Skip to content

Commit

Permalink
Merge pull request #10861 from albert-github/feature/issue_10858
Browse files Browse the repository at this point in the history
issue #10958 Markdown: unordered list
  • Loading branch information
doxygen committed May 12, 2024
2 parents 840cae9 + 3bf32a6 commit 3e1f855
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions src/commentcnv.l
Original file line number Diff line number Diff line change
Expand Up @@ -1697,6 +1697,7 @@ static bool readIncludeFile(yyscan_t yyscanner,const QCString &inc,const QCStrin
QCString oldRaiseLabel = yyextra->raiseLabel;
yyextra->raiseLevel+=yyextra->raiseIncrement;
yyextra->raiseLabel+=yyextra->raisePrefix;
lineNr--;
QCString lineStr=" \\ilinebr \\ifile \""+absFileName+"\" \\iline " + std::to_string(lineNr);
if (yyextra->raiseLevel>0)
{
Expand All @@ -1706,12 +1707,14 @@ static bool readIncludeFile(yyscan_t yyscanner,const QCString &inc,const QCStrin
{
lineStr+=" \\iprefix \"" + yyextra->raiseLabel + "\"";
}
lineStr+=" \\ilinebr ";
copyToOutput(yyscanner,lineStr.view());
insertCommentStart(yyscanner);
lineStr="\n";
copyToOutput(yyscanner,lineStr.view());
fs->fileName = absFileName;
fs->bufState = YY_CURRENT_BUFFER;
fs->oldLineNr = yyextra->lineNr;
fs->oldLineNr = yyextra->lineNr-1;
fs->oldFileName = yyextra->fileName;
fs->oldState = yyextra->includeCtx;
fs->oldFileBuf = yyextra->inBuf;
Expand Down
2 changes: 1 addition & 1 deletion src/doctokenizer.l
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ REFWORD4 {REFWORD4_NOCV}{CVSPEC}?
REFWORD {FILEMASK}|{LABELID}|{REFWORD2}|{REFWORD3}|{REFWORD4}
REFWORD_NOCV {FILEMASK}|{LABELID}|{REFWORD2_NOCV}|{REFWORD3}|{REFWORD4_NOCV}
RCSID "$"("Author"|"Date"|"Header"|"Id"|"Locker"|"Log"|"Name"|"RCSfile"|"Revision"|"Source"|"State")":"[^:\n$][^\n$]*"$"
LINENR {BLANK}*[1-9][0-9]*
LINENR {BLANK}*([1-9][0-9]*|"0")

SHOWDATE ([0-9]{4}"-"[0-9]{1,2}"-"[0-9]{1,2})?({WS}*[0-9]{1,2}":"[0-9]{1,2}(":"[0-9]{1,2})?)?

Expand Down

0 comments on commit 3e1f855

Please sign in to comment.