File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -1499,7 +1499,7 @@ STopt [^\n@\\]*
1499
1499
1500
1500
/* --------- handle arguments of {def,add,weak}group commands --------- */
1501
1501
1502
- <GroupDocArg1>{LABELID}(".html"?) { // group name
1502
+ <GroupDocArg1>{LABELID}(".html"|".xhtml")? { // group name
1503
1503
yyextra->current->name = yytext;
1504
1504
//lastDefGroup.groupname = yytext;
1505
1505
//lastDefGroup.pri = yyextra->current->groupingPri();
@@ -1508,6 +1508,10 @@ STopt [^\n@\\]*
1508
1508
{
1509
1509
yyextra->current->name=yyextra->current->name.left(yyextra->current->name.length()-5);
1510
1510
}
1511
+ else if (yyextra->current->name.endsWith(".xhtml"))
1512
+ {
1513
+ yyextra->current->name=yyextra->current->name.left(yyextra->current->name.length()-6);
1514
+ }
1511
1515
yyextra->current->type.clear();
1512
1516
BEGIN(GroupDocArg2);
1513
1517
}
You can’t perform that action at this time.
0 commit comments