Skip to content

Commit f26304d

Browse files
committed
tree schema UPDATE report all module parsing errors
1 parent 6461833 commit f26304d

File tree

8 files changed

+298
-250
lines changed

8 files changed

+298
-250
lines changed

src/context.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ ly_ctx_new(const char *search_dir, uint16_t options, struct ly_ctx **new_ctx)
367367
/* load internal modules */
368368
for (i = 0; i < ((options & LY_CTX_NO_YANGLIBRARY) ? (LY_INTERNAL_MODS_COUNT - 2) : LY_INTERNAL_MODS_COUNT); i++) {
369369
ly_in_memory(in, internal_modules[i].data);
370-
LY_CHECK_GOTO(rc = lys_parse_in(ctx, in, internal_modules[i].format, NULL, NULL, &unres.creating, &module), cleanup);
370+
LY_CHECK_GOTO(rc = lys_parse_in(ctx, in, internal_modules[i].format, NULL, &unres.creating, &module), cleanup);
371371
if (internal_modules[i].implemented || (ctx->flags & LY_CTX_ALL_IMPLEMENTED)) {
372372
imp_f = (ctx->flags & LY_CTX_ENABLE_IMP_FEATURES) ? all_f : NULL;
373373
LY_CHECK_GOTO(rc = lys_implement(module, imp_f, &unres), cleanup);

0 commit comments

Comments
 (0)