summaryrefslogtreecommitdiffstats
path: root/src/code.l
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2021-04-29 12:45:54 (GMT)
committeralbert-github <albert.tests@gmail.com>2021-04-29 12:45:54 (GMT)
commit731bace4167532bddeec19d9d936d6911dcb30f0 (patch)
treeb5182d6403a88a800051354d12cc69cf1ca42385 /src/code.l
parenta9f40a48c99af952836a3871e60ff6ca17ecdecf (diff)
downloadDoxygen-731bace4167532bddeec19d9d936d6911dcb30f0.zip
Doxygen-731bace4167532bddeec19d9d936d6911dcb30f0.tar.gz
Doxygen-731bace4167532bddeec19d9d936d6911dcb30f0.tar.bz2
issue #8518 tag </programlisting> was inserted before </highlight> parsing cpp file to xml
The possible `\n` was not taken into account when codifying the line(s).
Diffstat (limited to 'src/code.l')
-rw-r--r--src/code.l8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/code.l b/src/code.l
index ed94853..2b48c47 100644
--- a/src/code.l
+++ b/src/code.l
@@ -1287,14 +1287,14 @@ ENDQopt ("const"|"volatile"|"sealed"|"override")({BN}+("const"|"volatile"|"seale
{
if (!generateClassMemberLink(yyscanner,*yyextra->code,yyextra->theCallContext.getScope().globalDef(),yytext))
{
- yyextra->code->codify(yytext);
+ codifyLines(yyscanner,yytext);
addToSearchIndex(yyscanner,yytext);
}
yyextra->name.resize(0);
}
else
{
- yyextra->code->codify(yytext);
+ codifyLines(yyscanner,yytext);
addToSearchIndex(yyscanner,yytext);
yyextra->name.resize(0);
}
@@ -1314,7 +1314,7 @@ ENDQopt ("const"|"volatile"|"sealed"|"override")({BN}+("const"|"volatile"|"seale
DBG_CTX((stderr,"yyextra->theCallContext.getClass()=%p\n",(void*)yyextra->theCallContext.getScope().globalDef()));
if (!generateClassMemberLink(yyscanner,*yyextra->code,yyextra->theCallContext.getScope().globalDef(),yytext))
{
- yyextra->code->codify(yytext);
+ codifyLines(yyscanner,yytext);
addToSearchIndex(yyscanner,yytext);
}
yyextra->name.resize(0);
@@ -1322,7 +1322,7 @@ ENDQopt ("const"|"volatile"|"sealed"|"override")({BN}+("const"|"volatile"|"seale
else
{
DBG_CTX((stderr,"no class context!\n"));
- yyextra->code->codify(yytext);
+ codifyLines(yyscanner,yytext);
addToSearchIndex(yyscanner,yytext);
yyextra->name.resize(0);
}