diff --git a/doc/mxml.man b/doc/mxml.man index 4d79ff9..f04d49d 100644 --- a/doc/mxml.man +++ b/doc/mxml.man @@ -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 diff --git a/mxmldoc.c b/mxmldoc.c index 6e89d26..965969d 100644 --- a/mxmldoc.c +++ b/mxmldoc.c @@ -5340,11 +5340,17 @@ write_html_body( fputs("

Constants

\n" "
\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);