From 852b070fcd5a1d1928fa317ae3ac88845ee279c6 Mon Sep 17 00:00:00 2001 From: Omar Siam Date: Tue, 10 Jun 2025 18:47:59 +0200 Subject: [PATCH] Change comment style --- relaxng.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/relaxng.c b/relaxng.c index afd416f54..93b31bb0e 100644 --- a/relaxng.c +++ b/relaxng.c @@ -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;