Skip to content

Commit 94a8511

Browse files
committed
printer context UPDATE store ctx hash
1 parent ea8571d commit 94a8511

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/printer_context.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1782,6 +1782,9 @@ ly_ctx_compiled_print_context(const struct ly_ctx *orig_ctx, struct ly_ctx *ctx,
17821782
ctx->change_count = orig_ctx->change_count;
17831783
ctx->opts = orig_ctx->opts;
17841784

1785+
/* ctx hash */
1786+
ctx->mod_hash = orig_ctx->mod_hash;
1787+
17851788
/* no dynamic plugin support */
17861789
memset(&ctx->plugins_types, 0, sizeof ctx->plugins_types);
17871790
memset(&ctx->plugins_extensions, 0, sizeof ctx->plugins_extensions);

0 commit comments

Comments
 (0)