tests CHANGE basic leafref path test with list predicate
diff --git a/src/tree_schema_compile.c b/src/tree_schema_compile.c
index ea6cf08..33c5de1 100644
--- a/src/tree_schema_compile.c
+++ b/src/tree_schema_compile.c
@@ -1621,6 +1621,7 @@
while (isspace(*pke_end)) {
--pke_end;
}
+ ++pke_end;
/* localize path-key-expr */
pke_start = path_key_expr = *predicate;
/* move after the current predicate */
@@ -3082,6 +3083,7 @@
(*children)->prev = node;
}
}
+ node->parent = parent;
} else {
/* top-level element */
if (!ctx->mod->compiled->data) {