We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1c2d4f3 + be1ccef commit 339e566Copy full SHA for 339e566
src/doxygen.cpp
@@ -8705,7 +8705,14 @@ static void computePageRelations(Entry *root)
8705
for (bii.toFirst();(bi=bii.current());++bii)
8706
{
8707
PageDef *subPd = Doxygen::pageSDict->find(bi->name);
8708
- if (subPd)
+ if (pd==subPd)
8709
+ {
8710
+ err("page defined at line %d of file %s with label %s is a direct "
8711
+ "subpage of itself! Please remove this cyclic dependency.\n",
8712
+ pd->docLine(),pd->docFile().data(),pd->name().data());
8713
+ exit(1);
8714
+ }
8715
+ else if (subPd)
8716
8717
pd->addInnerCompound(subPd);
8718
//printf("*** Added subpage relation: %s->%s\n",
0 commit comments