1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2026-01-26 21:41:34 +03:00

Change comment style

This commit is contained in:
Omar Siam
2025-06-10 18:47:59 +02:00
parent bb7169b5ad
commit 852b070fcd

View File

@@ -5877,8 +5877,10 @@ xmlRelaxNGSimplify(xmlRelaxNGParserCtxtPtr ctxt,
if ((parent == NULL) && (prev == NULL)) {
cur->type = XML_RELAXNG_NOOP;
} else if (prev == NULL) {
// this simplification may already have happened
// if this is done twice this leads to an infinite loop of attrs->next
/*
* this simplification may already have happened
* if this is done twice this leads to an infinite loop of attrs->next
*/
if (parent->content != cur->content) {
parent->content = cur->content;
cur->content->next = cur->next;