Support @exclude ...@ for constants, too.

This commit is contained in:
Michael Sweet 2017-06-07 16:16:25 -04:00
parent e703ef3d25
commit 3b4fe17065
2 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,4 @@
.TH mxml 3 "Mini-XML API" "06/06/17" "Mini-XML API"
.TH mxml 3 "Mini-XML API" "06/07/17" "Mini-XML API"
.SH NAME
mxml \- Mini-XML API
.SH INCLUDE FILE

View File

@ -5340,11 +5340,17 @@ write_html_body(
fputs(" <h4 class=\"constants\">Constants</h4>\n"
" <dl>\n", out);
#if 0
for (arg = mxmlFindElement(scut, scut, "constant", NULL, NULL,
MXML_DESCEND_FIRST);
arg;
arg = mxmlFindElement(arg, scut, "constant", NULL, NULL,
MXML_NO_DESCEND))
#else
for (arg = find_public(scut, scut, "constant", NULL, mode);
arg;
arg = find_public(arg, scut, "constant", NULL, mode))
#endif // 0
{
description = mxmlFindElement(arg, arg, "description", NULL,
NULL, MXML_DESCEND_FIRST);