tree_schema_helpers CHANGE make lysp_check_prefix function compatible with lyxml_context
diff --git a/src/parser_yang.c b/src/parser_yang.c
index 98c27d2..18994e4 100644
--- a/src/parser_yang.c
+++ b/src/parser_yang.c
@@ -1363,7 +1363,7 @@
switch (kw) {
case YANG_PREFIX:
LY_CHECK_RET(parse_text_field(ctx, data, LYEXT_SUBSTMT_PREFIX, 0, &imp->prefix, Y_IDENTIF_ARG, &imp->exts));
- LY_CHECK_RET(lysp_check_prefix(ctx, *imports, module_prefix, &imp->prefix), LY_EVALID);
+ LY_CHECK_RET(lysp_check_prefix(ctx->ctx, &ctx->line, *imports, module_prefix, &imp->prefix), LY_EVALID);
break;
case YANG_DESCRIPTION:
YANG_CHECK_STMTVER2_RET(ctx, "description", "import");