Skip to content

Commit 8e8484a

Browse files
committed
Incorrect warning regarding type and start of backtick type of block
When having: ``` # Installing the AWS CLI v2 from source * to `pyproject.toml The ``` https://awscli.amazonaws.com/awscli.tar.gz ``` ``` we get the warning: ``` source-install.md:9: warning: Reached end of file while still searching closing '```' of a verbatim block starting at line 8 ``` this looks like a regression on: ``` Commit: 9defcc3 [9defcc3] Date: Sunday, June 22, 2025 3:03:57 PM issue doxygen#11621 Markdown code handling `` ` `` gets confused by unterminated `` ` `` within (introduced by 1.11) ```
1 parent fdc8352 commit 8e8484a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/commentcnv.l

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -764,12 +764,10 @@ SLASHopt [/]*
764764
}
765765
}
766766
<VerbatimCode>("```"[`]*|"~~~"[~]*) { /* end of markdown code block */
767-
if (yytext[0]=='`' && (yyextra->blockName=="`" || yyextra->blockName=="``")) // ``` inside single quote block
767+
if (yytext[0]=='`' && (yyextra->blockName=="`" || yyextra->blockName=="``")) // ``` type block inside single or double backtick "block"
768768
{
769769
// copy the end block marker
770770
copyToOutput(yyscanner,yytext,yyleng);
771-
yyextra->inVerbatim=false;
772-
BEGIN(yyextra->lastCommentContext);
773771
}
774772
else
775773
{

0 commit comments

Comments
 (0)