Skip to content

Commit

Permalink
issue #10392 GENERATE_XML generates XML files with erroneous </codeli…
Browse files Browse the repository at this point in the history
…ne>s in <programlisting>
  • Loading branch information
doxygen committed Nov 5, 2023
1 parent 8373928 commit 70d8358
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/code.l
Expand Up @@ -2011,7 +2011,10 @@ ENDQopt ("const"|"volatile"|"sealed"|"override")({BN}+("const"|"volatile"|"seale
<RemoveSpecialCComment>{CPPC}|{CCS}
<RemoveSpecialCComment>\n {
yyextra->yyLineNr++;
endCodeLine(yyscanner);
if (yyextra->insideCodeLine)

This comment has been minimized.

Copy link
@albert-github

albert-github Nov 5, 2023

Collaborator

Wouldn't it be better / cleaner to place everywhere the test for insideCodeLIne inside endCodeLine?

{
endCodeLine(yyscanner);
}
endCodeFold(yyscanner);
}
<RemoveSpecialCComment>.
Expand Down

0 comments on commit 70d8358

Please sign in to comment.