Skip to content

Commit 89eb019

Browse files
committed
issue doxygen#11936 [BUG] Regression - The group name is replaced with the group title inside the @RetVal command
1 parent 5962260 commit 89eb019

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/docnode.cpp

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3283,8 +3283,9 @@ Token DocParamList::parse(const QCString &cmdName)
32833283
parser()->context.hasReturnCommand=TRUE;
32843284
parser()->checkRetvalName();
32853285
}
3286-
//m_params.append(parser()->context.token->name);
3287-
parser()->handleLinkedWord(thisVariant(),m_params);
3286+
parser()->context.inSeeBlock=true;
3287+
parser()->handleLinkedWord(thisVariant(),m_params,true);
3288+
parser()->context.inSeeBlock=false;
32883289
tok=parser()->tokenizer.lex();
32893290
}
32903291
parser()->tokenizer.setStatePara();
@@ -4744,14 +4745,10 @@ Token DocPara::handleCommand(char cmdChar, const QCString &cmdName)
47444745
retval = handleParamSection(cmdName,DocParamSect::TemplateParam,FALSE,parser()->context.token->paramDir);
47454746
break;
47464747
case CommandType::CMD_RETVAL:
4747-
parser()->context.inSeeBlock=true;
47484748
retval = handleParamSection(cmdName,DocParamSect::RetVal);
4749-
parser()->context.inSeeBlock=false;
47504749
break;
47514750
case CommandType::CMD_EXCEPTION:
4752-
parser()->context.inSeeBlock=true;
47534751
retval = handleParamSection(cmdName,DocParamSect::Exception);
4754-
parser()->context.inSeeBlock=false;
47554752
break;
47564753
case CommandType::CMD_XREFITEM:
47574754
retval = handleXRefItem();

0 commit comments

Comments
 (0)