Skip to content

Commit bd9aa87

Browse files
committed
bug 729344 Ignoring an items when / or \ is placed after \addindex
The handling of the `addindex` command is here just a copying action and therefore no extra characters should be added so instead of the `cmdName` the original text (`yytext`) should be outputted.
1 parent b3fb40e commit bd9aa87

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/commentscan.l

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3379,7 +3379,7 @@ static bool handleFormatBlock(yyscan_t yyscanner,const QCString &s, const String
33793379
static bool handleAddIndex(yyscan_t yyscanner,const QCString &, const StringVector &)
33803380
{
33813381
struct yyguts_t *yyg = (struct yyguts_t*)yyscanner;
3382-
addOutput(yyscanner,"@addindex ");
3382+
addOutput(yyscanner,yytext);
33833383
BEGIN(LineParam);
33843384
return FALSE;
33853385
}

0 commit comments

Comments
 (0)