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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user