commit | 8ce513594fb6552936d55999081fc83d9a45fee8 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Tue Oct 06 14:07:24 2020 +0200 |
committer | Radek Krejci <rkrejci@cesnet.cz> | Tue Oct 06 14:37:39 2020 +0200 |
tree | 235eb3b77311d10b32e80a1b5a2f211d90814fc8 | |
parent | 5516b70db6c6e30e208c77ceb1ec1178217b7733 [diff] |
schme compile BUGFIX compiled extension should use the local module
diff --git a/src/tree_schema_compile.c b/src/tree_schema_compile.c index cd445b2..a81609f 100644 --- a/src/tree_schema_compile.c +++ b/src/tree_schema_compile.c
@@ -576,7 +576,7 @@ ext->insubstmt = ext_p->insubstmt; ext->insubstmt_index = ext_p->insubstmt_index; - ext->module = ctx->mod_def; + ext->module = ctx->mod; ext->parent = parent; ext->parent_type = parent_type;