1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-24 13:33:01 +03:00

relaxng: Make xmlRelaxNGDump depend on debug option

This commit is contained in:
Nick Wellnhofer
2025-06-30 16:15:15 +02:00
parent 9760a14fb9
commit 9553695d17
4 changed files with 10 additions and 4 deletions

View File

@@ -977,8 +977,10 @@ main(int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED) {
xmlRelaxNGValidatePushCData(NULL, NULL, 0);
xmlRelaxNGValidatePushElement(NULL, NULL, NULL);
xmlRelaxParserSetFlag(NULL, 0);
#ifdef LIBXML_OUTPUT_ENABLED
#ifdef LIBXML_DEBUG_ENABLED
xmlRelaxNGDump(NULL, NULL);
#endif /* LIBXML_DEBUG_ENABLED */
#ifdef LIBXML_OUTPUT_ENABLED
xmlRelaxNGDumpTree(NULL, NULL);
#endif /* LIBXML_OUTPUT_ENABLED */
#endif /* LIBXML_RELAXNG_ENABLED */